added biome query to biome
This commit is contained in:
1 parent
f01518a543
commit
54d306d9bc
5 files changed
+75
-11
No files matched your search
@@ -41,6 +41,7 @@ public class NumericValue extends Value
|
||||
{
|
||||
if (value == null) return Value.NULL;
|
||||
if (value.doubleValue() == value.longValue()) return new NumericValue(value.longValue());
|
||||
if (value instanceof Float) return new NumericValue(0.000_001D * Math.round(1_000_000.0D*value.doubleValue()));
|
||||
return new NumericValue(value.doubleValue());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user