edu.ucla.stat.SOCR.util
Class Numeric
java.lang.Object
java.lang.Number
edu.ucla.stat.SOCR.util.Numeric
- All Implemented Interfaces:
- java.io.Serializable
public class Numeric
- extends java.lang.Number
- See Also:
- Serialized Form
Constructor Summary |
Numeric(double d)
|
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIN_VALUE
public static double MIN_VALUE
MAX_VALUE
public static double MAX_VALUE
NEGATIVE_INFINITY
public static double NEGATIVE_INFINITY
POSITIVE_INFINITY
public static double POSITIVE_INFINITY
NaN
public static double NaN
value
public double value
Numeric
public Numeric(double d)
intValue
public int intValue()
- Specified by:
intValue
in class java.lang.Number
longValue
public long longValue()
- Specified by:
longValue
in class java.lang.Number
floatValue
public float floatValue()
- Specified by:
floatValue
in class java.lang.Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in class java.lang.Number
toString
public java.lang.String toString(int digits)