|
-
December 24th, 1998, 08:57 AM
#1
Doubles and Ghost-Decimals
Compute the following (it's an example, other numbers do the same) :
346.48 - 346
The result may not compare with the user-input value 0.48 :
because 346.48 - 346 does not give 0.48 but something like 0.48000000000018 (not sure for how much zeros)...
any comment/idea ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|