On Jan 31, 2013, at 10:54 AM, Steve Alex wrote: > 907.4999999999999 rounded to 2 is 907.7 > > Just one of those weird FP internal rounding problems.
I'll just add that when dealing with money as a result, I think I would always added 0.005 before rounding. $fee_rounded:=Round($fee + 0.005; 2) This was usually remembered after beating my head against the wall trying to make FP act like money (or dollars and cents). Steve _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
