note 25783 deleted from function.number-format by sniper
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 01:40:28 +0000 |
| Subject: | note 25783 deleted from function.number-format by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57367@lists.php.net to get a copy of this message | ||
Note Submitter: RomQ@nospam.com
----
In answer to martinom at walshsimmons dot co dot uk:
I found the ideal workaround posted by markus dot brachner under str_replace:
str_replace("A","",number_format($number,2,".","A"))
or without decimals (in my own case):
str_replace("A","",number_format($number," ","
","A"))