round it

http://www.php.net/manual/en/function.round.php

--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Max Clark" <[EMAIL PROTECTED]> wrote in message
atdba1$2id$[EMAIL PROTECTED]">news:atdba1$2id$[EMAIL PROTECTED]...
> Hi-
>
> How can I control the decimal places returned by an arthimetic function?
>
> I would like this divsion function to only return two decimal places
> (rounded up).
>
> $calcsize = $value / $oneGig;
>
> Thanks in advance,
> Max
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to