Skip to content
Tiny library to convert numbers to words. (SOON)
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
source
test
LICENSE
README.md

README.md

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)
You can’t perform that action at this time.