range now handles better long long chains, as well as float values.
This commit is contained in:
1 parent
34ee6784a4
commit
7bacea1810
5 files changed
+71
-17
No files matched your search
@@ -308,4 +308,9 @@ public class NumericValue extends Value
|
||||
if (longValue != null) return new NumericValue(-longValue);
|
||||
return new NumericValue(-value);
|
||||
}
|
||||
|
||||
public boolean isInteger()
|
||||
{
|
||||
return longValue!= null || getDouble() == (double)getLong();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user