Oh,
number_format (float number, int decimals, string dec_point, string
thousands_sep)
Sorry
Ajdin
On Wed, 31 Jan 2001, AJDIN BRANDIC wrote:
> Hi
>
> Lets say $foo=20.12345
>
> In php4 you can use : $foo=$round($foo,2); to get $foo=20.12
>
> What can I use in php3 to get the same result. $foo=$round($foo); gives
> me $foo=20 Not what I realy want???
>
> Thanks
>
> Ajdin
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]