displaying neat and tidy currency notation?
| From: | George Pitcher | Date: | Fri, 03 Dec 2004 15:48:33 +0000 |
| Subject: | displaying neat and tidy currency notation? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25112@lists.php.net to get a copy of this message | ||
Hi,
I want to be able to display the results of some calculations as currency
such as £25.50, but round($var,2) produces £25.5.
I've tried writing my own function but that just fouled up the calculation.
Any tips or suggestions?
Cheers
George in Oxford