there is also round() [ca2.php.net] floor() [ca2.php.net]
coopster
10:53 pm on Nov 17, 2003 (gmt 0)
Yeah, it's actually quite easy in PHP. Try rounding floats in Perl sometime! I had to (at the time) write my own function to do what PHP does by default with it's round [php.net] function to get the "banking" factor operating correctly.