Skip to content

Instantly share code, notes, and snippets.

@Ameen-Alam
Created July 18, 2022 00:18
Show Gist options
  • Save Ameen-Alam/2b1c97a79a19a2c5f36c71202380fb8e to your computer and use it in GitHub Desktop.
Save Ameen-Alam/2b1c97a79a19a2c5f36c71202380fb8e to your computer and use it in GitHub Desktop.
number in words
const a = ["", "one ", "two ", "three ", "four ", "five ", "six ", "seven ", "eight ", "nine ", "ten ", "eleven ", "twelve ", "thirteen ", "fourteen ", "fifteen ", "sixteen ", "eventeen ", "eighteen ", "nineteen"];
const b = ["", "", "twenty ", "thirty ", "fourty ", "fifty ", "sixty ", "seventy ", "eighty ", "ninety "];
const c = ["", "thousand ", "million ", "billion ", "trillion ", "quadrillion ", "quintillion ", "sextillion ", "septillion ", "octillion ", "nonillion ", "decillion ", "Googol ", "Centillion ", "Googolplex ", "Skewer's Number "]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment