Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 368 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 368 Bytes

number2word

Description

Script converts number into its words representation e.g.:

Input:

123

Output:

one hundred twenty-three

Script uses long-scale naming system Max value to convert is:

999 999 999 999 999 999

Instruction

In command line type:

php num2word.php my_number

Where my_number is for example 123