mirror of
https://github.com/zeroflag/fcl.git
synced 2025-01-11 20:01:10 +01:00
delete button fix
This commit is contained in:
parent
7ec3aea64c
commit
65f43d0a4c
1 changed files with 6 additions and 0 deletions
|
@ -269,4 +269,10 @@ public class Num implements Obj, LogicOperand, ArithmeticOperand {
|
|||
? Double.compare(doubleValue(), ((Num) other).doubleValue())
|
||||
: -1;
|
||||
}
|
||||
|
||||
public boolean isReal() {
|
||||
if (value instanceof Double)
|
||||
return !((Double) value).isNaN() && !((Double) value).isInfinite();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue