formatting
| From: | Phil Reid | Date: | Mon, 17 Jun 2002 16:20:18 +0000 |
| Subject: | formatting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102538@lists.php.net to get a copy of this message | ||
How do I format a string to match a currency value? For example;
echo "<td><font size=1 face=arial>£$itemtotal</font></td>";
How do I output that with the format £0.00? At the moment if there is
only 3 digits when the items are added up it will come out as £0.0.
Thanks again
Phil Reid