Re: money format
| From: | Jason Brooke | Date: | Mon, 13 Aug 2001 03:19:57 +0000 |
| Subject: | Re: money format | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8794@lists.php.net to get a copy of this message | ||
> 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