public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public float floatValue()
public double doubleValue()
public class MainClass {
public static void main(String[] argv) {
Double d1 = new Double(1.01055);
Double d2 = new Double("1.11348");
System.out.println(d1.doubleValue());
}
}
|