| 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, isTruepublic NSReal(double theDouble)
theDouble - value of the new objectpublic java.lang.Double getValue()
getValue in class NSNumbertoDouble()public double toDouble()
double.public java.lang.Double toNumber()
Number.