My problem is not what the defination of floating pointThat is exactly your problem. When 0.006 is converted to a double the value is actually more like 0.00600000000000000012490009027033011079765856266021728515625. Then you get some bad rounding.
so according to [you], java is adding any arbit[rary] value it suitsDon't put words into my mouth. That is a stupid statement and I did not make it.
880996 wrote:That is absolutely not what he said and absolutely not what is happening.
so according to u, java is adding any arbit value it suits fit