Thanks Duane.
Happy New Year
Regards,
Louis
ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 26, 2000 10:54 PM
Subject: Re: double value 10.20 -10.00 = ?? HELP!
Hi Louis,
I'm replying
Simply adjust your output format.
-Original Message-
From: LouisVoo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 22, 2000 2:01 AM
To: [EMAIL PROTECTED]
Subject: double value 10.20 -10.00 = ?? HELP!
Hi,
Anyone know why 10.20 - 10.00 = 0.13 in Java? Why the
answer
Subject: Re: double value 10.20
-10.00 = ?? HELP!
list about Java
Server Pages
specification and
reference
JSP-INTEREST@java
.sun.com
12/22/00 02
I have the same problem with C++ program!
I compiled with Borland C++ 5.5 compiler.
float a = 100.20;
float b = 100.00;
float c = a - b;
Result of c is 0.1875
We tried this on the same machine but on Linux operating system. Same
problem with Java
u.. Finite precision variables
I have the same problem with C++ program!
I compiled with Borland C++ 5.5 compiler.
float a = 100.20;
float b = 100.00;
float c = a - b;
Result of c is 0.1875
We tried this on the same machine but on
imalFormat class.
- Original Message -
From: LouisVoo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 3:00 AM
Subject: double value 10.20 -10.00 = ?? HELP!
Hi,
Anyone know why 10.20 - 10.00 = 0.13 in Java? Why the
answer is not 0.20??
But
19 848 707
email: [EMAIL PROTECTED]
-
- Original Message -
From: "paul" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 22, 2000 11:09 PM
Subject: Re: double value 10.20 -10.00 = ?? HELP!
u.. Finite precision var
Hi,
Anyone know why 10.20 - 10.00 = 0.13 in Java? Why the
answer is not 0.20??
But, if I try this in JSP page, then its correct. Any solution for this
problem? I need to get the actual figure.
I try in java version 1.1.8, 1.2 and 1.3, they all give me wrong value.