I'm simply trying to define the scale at which you should be worried about using floats vs. doubles and ints vs. longs.
For all practical monetary values, you probably won't see these problems...
Type: Posts; User: helloworld922
I'm simply trying to define the scale at which you should be worried about using floats vs. doubles and ints vs. longs.
For all practical monetary values, you probably won't see these problems...
Doubles are subject to the same problem in Java or in C/C++.
It all has to deal with the way floating point numbers are represented.
When you use an integer/long value, you're guaranteed to...