[5374] in java-interest
Numbers
daemon@ATHENA.MIT.EDU (Jill Shermer)
Tue Feb 6 22:37:24 1996
Date: Tue, 6 Feb 1996 18:27:17 -0800
From: jshermer@BASISinc.com (Jill Shermer)
To: java-interest@java.sun.com
To the Java Development Team:
1. How do you turn off scientific notation and turn on
standard notation when formatting Numbers in Java?
2. How do you avoid loss of precision with doubles?
For example, if a = 300000.33,
b = 2,
c = a*b,
how do you make sure c = 600000.66, not 600001?
Is this avoidable?
-Jill
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com