Posted by Ivαn Sαnchez Ortega on 08/18/07 16:32
Michael Fesser wrote:
>>Is there a special function to do so ?
>
> Have a look at round()'s second parameter ...
format_number() and sprintf() are also useful, if you just want to hide the
extra decimals when echo()ing the numbers.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Orilla: perΓodo de tiempo de 60 minutillos.
[Back to original message]
|