Constructor and Description |
---|
NSReal(double theDouble)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getValue()
Get the unmodifiable value of this object.
|
double |
toDouble()
Get the contents of this object as a
double . |
long |
toLong()
Return the value as a long.
|
java.lang.Double |
toNumber()
Get the contents of this object as a
Number . |
createInstance, isTrue
public NSReal(double theDouble)
theDouble
- value of the new objectpublic java.lang.Double getValue()
getValue
in class NSNumber
toDouble()
public double toDouble()
double
.public java.lang.Double toNumber()
Number
.