note 75302 added to function.number-format
| From: | bloopletech at gmail dot com | Date: | Wed, 23 May 2007 01:07:12 +0000 |
| Subject: | note 75302 added to function.number-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126835@lists.php.net to get a copy of this message | ||
If you want to convert a number, (int or float) to full spoken text, then you can use my num2text
converter, at http://bloople.net/num2text
Examples:
40000 => forty thousand
1,796,706 => one million, seven hundred and ninety-six thousand, seven hundred and six.
If works for positive an negative integers/floats/doubles. The code is only a page long, and you
don't have to install any modules or anything.
I hope this comes in handy for somebody!
----
Server IP: 203.202.10.60
Probable Submitter: 220.157.67.252
----
Manual Page -- http://www.php.net/manual/en/function.number-format.php
Edit -- https://master.php.net/note/edit/75302
Del: integrated -- https://master.php.net/note/delete/75302/integrated
Del: useless -- https://master.php.net/note/delete/75302/useless
Del: bad code -- https://master.php.net/note/delete/75302/bad+code
Del: spam -- https://master.php.net/note/delete/75302/spam
Del: non-english -- https://master.php.net/note/delete/75302/non-english
Del: in docs -- https://master.php.net/note/delete/75302/in+docs
Del: other reasons-- https://master.php.net/note/delete/75302
Reject -- https://master.php.net/note/reject/75302
Search -- https://master.php.net/manage/user-notes.php