Convert Numbers to Words in PHP

This script will convert numbers to words. It also contains an example. The function can accept big numbers also, both positive and negative. Enjoy coding. function convert_number_to_words($number) { $hyphen = ‘-’; $conjunction = ‘ and ‘; $separator = ‘, ‘; $negative = ‘negative ‘; $decimal = ‘ point ‘; $dictionary = array( 0 => ‘zero’, […]

Read More →