much easier to use:
number_format($number,2);
"Jason Brooke" <[EMAIL PROTECTED]> wrote in message
019201c123a6$d4d69320$58c2a4cb@co3040297a">news:019201c123a6$d4d69320$58c2a4cb@co3040297a...
> > does anyone know
> > how to convert a
> > number like 324.42932 to 324.43 format
> >
> > is there any special functions in php for this ?
>
> There sure are, did you check the manual?
> http://www.php.net/manual/en/ref.strings.php
>
> You can also do it with the % operator instead of using a function if you
> want.
> http://www.php.net/manual/en/language.operators.php
>
> jason
>
>
>
>
>
--
PHP Windows 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]