ZF2 view helper to convert a number into its word representation. e.g. 1 => one
This ZF2 module provides a view helper called numberToWord which will format a numberic number (e.g. 1023) as a word (e.g. one thousand and twenty three).
"nineteenfeet/nf-number-to-word": "1.*"to your
composer.jsonfile and run
php composer.phar update.
'NFNumberToWord'to your list of modules in
In your view script:
<?php echo $this->numberToWord(1234, $titleCase = true); ?>