note 109361 added to function.number-format
| From: | amarendradas at india dot com | Date: | Tue, 10 Jul 2012 14:02:11 +0000 |
| Subject: | note 109361 added to function.number-format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189088@lists.php.net to get a copy of this message | ||
In the function indian rupees number to word convert there is little mistake for eg if we take 30000
as argument output will be : Indian Rupees Thirty only but it should be : Indian Rupees Thirty
thousands only.
in the if statement for index variable $i=0,2,4,6 we test whether $value!=0 as a result it print
Thousands only when $value!=0. But does not print Thousands for $i=1,3,5 as $value=0 for taking
input 30000.
----
Server IP: 69.147.83.197
Probable Submitter: 141.0.9.33 (proxied: 106.212.110.154)
----
Manual Page -- http://www.php.net/manual/en/function.number-format.php
Edit -- https://master.php.net/note/edit/109361
Del: integrated -- https://master.php.net/note/delete/109361/integrated
Del: useless -- https://master.php.net/note/delete/109361/useless
Del: bad code -- https://master.php.net/note/delete/109361/bad+code
Del: spam -- https://master.php.net/note/delete/109361/spam
Del: non-english -- https://master.php.net/note/delete/109361/non-english
Del: in docs -- https://master.php.net/note/delete/109361/in+docs
Del: other reasons-- https://master.php.net/note/delete/109361
Reject -- https://master.php.net/note/reject/109361
Search -- https://master.php.net/manage/user-notes.php