note 109361 deleted from function.number-format by danbrown
| From: | danbrown@php.net | Date: | Mon, 16 Jul 2012 15:38:46 +0000 |
| Subject: | note 109361 deleted from function.number-format by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189198@lists.php.net to get a copy of this message | ||
Note Submitter: amarendradas at india dot com
----
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.