|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-03 14:22 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2017-10-03 14:22 UTC] cmb@php.net
[2017-10-03 14:23 UTC] cmb@php.net
[2017-10-25 11:39 UTC] cmb@php.net
-Status: Assigned
+Status: Feedback
[2017-10-25 11:39 UTC] cmb@php.net
[2017-11-05 04:22 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 23:00:02 2025 UTC |
Description: ------------ I want to convert a amount to word using numberformatter as indian format i.e. in lakh and crore. but it only works for million and billions. I want to SPELL a amount like 1230000 as twelve lakh thirty thousand Only. Please provide this functionality or let me know if there is a way for it to get localize. Test script: --------------- $objNum = new NumberFormatter("en", NumberFormatter::SPELLOUT); $spell = $objNum->format(150000); print_R($spell); Expected result: ---------------- One Lakh fifty thousand. Actual result: -------------- One fifty thousand Only