php Programming Glossary: digit2
Is there an easy way to convert a number to a word in PHP? http://stackoverflow.com/questions/277569/is-there-an-easy-way-to-convert-a-number-to-a-word-in-php thousand case 0 return function convertThreeDigit digit1 digit2 digit3 buffer if digit1 0 digit2 0 digit3 0 return if digit1.. convertThreeDigit digit1 digit2 digit3 buffer if digit1 0 digit2 0 digit3 0 return if digit1 0 buffer . convertDigit digit1.. if digit1 0 buffer . convertDigit digit1 . hundred if digit2 0 digit3 0 buffer . and if digit2 0 buffer . convertTwoDigit..
|