Bug?

The documentation for the round function states that .5 or larger
rounds up.  But apparently, it is not consistent, and sometimes rounding
up occurs at > 0.5, not >= 0.5.

round(1.335, 2) returns 1.34

but

round(38.175, 2) returns 38.17

on my machine.


I'm thinking as a work around, just add a small number like 0.0001
to every call to round.

Comments?

Sadhu

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to