PHP: Express Number in Words -
PHP: Express Number in Words -
is there function express given number in words?
for example:
if number 1432 function homecoming "one one thousand 4 hundred 30 two".
use numberformatter class in php ;)
$f = new numberformatter("en", numberformatter::spellout); echo $f->format(1432);
that output "one one thousand 4 hundred thirty-two"
php numbers words
Comments
Post a Comment