2009/2/3 Robert Rohde rarohde@gmail.com:
My code assumes floor( 4.9999999999 ) should really be floor(5) = 5.
If someone really expects floor( 4.9999999999 ) to be 4, then from their point of view that is an error.
If anyone want to be sure that floor(4.99999999..) == 5 he should use floor(round()) not floor().
AJF/WarX