Use the NumberFormatter class that are in php 😉
$f = new NumberFormatter("en", NumberFormatter::SPELLOUT);
echo $f->format(1432);
That would output “one thousand four hundred thirty-two”
Use the NumberFormatter class that are in php 😉
$f = new NumberFormatter("en", NumberFormatter::SPELLOUT);
echo $f->format(1432);
That would output “one thousand four hundred thirty-two”