Skip to content

BaseMax/NumbersToWordsPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Numbers To Words PHP

Tiny library to convert numbers to words.

Supported languages

  • English
  • Persian (Soon)
  • Hindi (Soon)
  • Tamil (Soon)
  • French and other (Need to partner with friends)

Numbers fixed

  • one
  • two
  • three
  • four
  • five
  • six
  • seven
  • eight
  • nine
  • ten

  • eleven
  • twelve
  • thirteen
  • fourteen
  • fifteen
  • sixteen
  • seventeen
  • eighteen
  • nineteen

Count of ten units

  • ten
  • twenty
  • thirty
  • forty
  • fifty
  • sixty
  • seventy
  • eighty
  • ninety
  • hundred

Counting Units

  • thousand
  • million
  • billion
  • trillion
  • quadrillion
  • quintillion
  • sextillion
  • septillion
  • octillion
  • nonillion
  • decillion
  • undecillion
  • duodecillion
  • tredecillion
  • quattuordecillion
  • quindecillion
  • sexdecillion
  • septendecillion
  • octodecillion
  • novemdecillion
  • vigintillion
  • centillion (Learned from https://en.wikipedia.org/wiki/Names_of_large_numbers)
Ten: 10 (1 zero)
Hundred: 100 (2 zeros)
Thousand: 1000 (3 zeros)
Ten thousand 10,000 (4 zeros)
Hundred thousand 100,000 (5 zeros)
Million 1,000,000 (6 zeros)
Billion 1,000,000,000 (9 zeros)
Trillion 1,000,000,000,000 (12 zeros)
Quadrillion 1,000,000,000,000,000 (15 zeros)
Quintillion 1,000,000,000,000,000,000 (18 zeros)
Sextillion 1,000,000,000,000,000,000,000 (21 zeros)
Septillion 1,000,000,000,000,000,000,000,000 (24 zeros)
Octillion 1,000,000,000,000,000,000,000,000,000 (27 zeros)
Nonillion 1,000,000,000,000,000,000,000,000,000,000 (30 zeros)
Decillion 1,000,000,000,000,000,000,000,000,000,000,000 (33 zeros)

About

Tiny library to convert numbers to words. (SOON)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages