Hi... can someone please teach me how to round off numbers in php??? For example i have 23.3 ... how can i change that into a whole number? Tnx and hope to hear from you guys soon! More Power!!!!
http://www.php.net/manual/en/function.round.php
so, for youre number it's just:
<? echo round(23.3); ?>
ali
surprisingly, the round() function might help.
check out floor() and ceil(), as well.
Where was this when I was messing with sucky ASP/VBScript??? ;-)