We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
HELLO ALL,
I have a problem with a floating point number. How can 12.11 become in 2142.11000000000013 (I look in debug).
I refer in this case too.
I know floating point is a big problem for any other computer. but is a lean answer always not right.
How can i get pure 12.11, not 2142.11000000000013 ?
Thank you.
floating point will (almost) never give you a 'pure' number.
This is not a "problem' it is an effect.
Erik
If you've given accurate values, then that's more than an effect. It's one heck of a big problem.
Please check your figures.