I just found it, what I was looking for was ceil(), that function round a
float to the next highest values no matter what is after the point
Example: $test=5.3
ceil($test) // gives 6
If you just used round you would get 5 instead of 6
Renaldo De Silva wrote:
> how can I round a float to the next highest value reguardless of the value
> after the point, does anyone have any suggestion, any help would be
> apreciated.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php