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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -