possible bug found
Stuart Zakon
zakon at earthlink.net
Fri Jan 8 13:13:38 PST 1999
I think I found a bug in the Float.valueOf() and the value.floatValue()
methods.
In both cases I got the value "0" printed out.
I am running on Linux 5.2 on i386.
The following code works on Win95/Symantec. I am going to try JDK1.1.7
on Linux
this weekend to see what I get.
Example code;
System.out.println("Display::addDigit " + numberString);
Float value = Float.valueOf(numberString);
System.out.print("Display::addDigit(value) ");
System.out.println(value.floatValue());
Please let me know what you find.
S. Zakon
zakon at earthlink.net
More information about the kaffe
mailing list