org.grinvin.invariants.values
Class NumericValue
- InvariantValue
public abstract class NumericValue
protected double | value - Internal representation of the actual value.
|
double | asDouble() - Return the actual value as a real number.
|
value
protected double value
Internal representation of the actual value. This is a double, allowing
the representation of infinity and undefined (as 'not a number'), also
when representing integers.
asDouble
public double asDouble()
Return the actual value as a real number. An undefined value is
represented by Double.NaN
.