Skip to content

Alexhandru/sayapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Write a function to return the natural language pronunciation (string representation) for integers ranging from 0 to 999,999,999,999,999,999.
​
Examples:
0 => zero
1 => one
11 => eleven
21 => twenty-one
101 => one hundred and one
115 => one hundred fifteen
221 => two hundred twenty-one
1005 => one thousand and five
184 => one hundred eighty-four
21235 => twenty-one thousand two hundred thirty-five
1_000_001 => one million and one
​
Limit thousands groups to million, billion, trillion.
​
Any values outside the given integers range and invalid types will cause an exception to be thrown.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%