Page 2 of 2

Posted: Wed Apr 19, 2006 5:09 pm
by Ollie Saunders
Yeah it rounds up and that is the way it is done in math. Anything else would be silly with the exception of converting to integer which works how it does for performance reasons. I think the fact that it is occasionally rounded down is due to a buggy implementation of floating point in PHP.