Page 1 of 1

Round

Posted: Mon Jul 01, 2002 9:59 pm
by Shadough
i know there is a function to "round" up, but say i want to "round down" to the nearest tenth. is there a function exists like this or would i have to go about it myself. thanks.

Posted: Mon Jul 01, 2002 10:36 pm
by hob_goblin
http://www.php.net/manual/en/function.floor.php

lol i was just about to go write out a function for you too..