Correct number format (curency)
| From: | Robert Mena | Date: | Thu, 20 Feb 2003 13:41:58 +0000 |
| Subject: | Correct number format (curency) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136351@lists.php.net to get a copy of this message | ||
Hi,
I have one application where the users enter a curency
value.
Unfortunately even tough I write the "correct" format
I keep receiving all kinds.
Example
1.000,00
1000.00
1,000.00
I would like to convert those to a single format
1000.00
Is there any function in php that already does that ?
Or perhaps any code snippets ?
thanks.
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/