Re: Displaying Floats
| From: | Miguel Cruz | Date: | Sat, 30 Mar 2002 01:25:10 +0000 |
| Subject: | Re: Displaying Floats | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90737@lists.php.net to get a copy of this message | ||
On Fri, 29 Mar 2002, Ian Wayne wrote:
> I have a table of accounts and I want to display all the money amounts
> to 2 decimal places. How do I do this? Should I use floatval (which I
> can't use because it's CVS only)? Or is there some other way?
http://php.net/printf
miguel