fit
Class ScientificDouble
java.lang.Object
java.lang.Number
fit.ScientificDouble
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class ScientificDouble
- extends java.lang.Number
- implements java.lang.Comparable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Number |
byteValue, shortValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected double value
precision
protected double precision
ScientificDouble
public ScientificDouble(double value)
valueOf
public static ScientificDouble valueOf(java.lang.String s)
precision
public static double precision(java.lang.String s)
tweak
public static java.lang.String tweak(java.lang.String s)
equals
public boolean equals(java.lang.Object obj)
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
doubleValue
public double doubleValue()
floatValue
public float floatValue()
longValue
public long longValue()
intValue
public int intValue()