Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Hello, Adding 2 float numbers, 20.4 and 40.8 gives me 61.199997, Can anyone reproduce the result with the source below ? --------------- public static void main( String[] para ) { float a = (float) 20.4; float c = a+b; ----my output : a :20.4 Replies:
|
Sponsored Links
|