[Gambas-user] Possible bug in round() function

Bruce bbruen at ...2308...
Thu Jan 30 12:47:51 CET 2014


On Thu, 2014-01-30 at 10:33 +0000, Ricardo Díaz Martín wrote:
> ? round (283.5 * 0.21, -2)

very interesting. The miracles we call floats.
try
? round (283.4999999999999999999996 * 0.209999999999999999996, -2)
59.54

Strange and magical, we'd better wait on Benoit's call on this one.

?
Bruce 





More information about the User mailing list