That is how floating point variables work.
If you want to see different values displayed when printing floating point variables, use a formatting class like the DecimalFormat class or the printf()...
Type: Posts; User: Norm
That is how floating point variables work.
If you want to see different values displayed when printing floating point variables, use a formatting class like the DecimalFormat class or the printf()...
Floating point numbers can not be represented exactly in a computer.