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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -