Skip to content

Script converts numbers into words e.g.: 123 -> "one hundred twenty-three"

Notifications You must be signed in to change notification settings

lucosmo/number2word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

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

About

Script converts numbers into words e.g.: 123 -> "one hundred twenty-three"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages