const cardinal = {
  ones : {
    'a': 1,
    'zero': 0,
    'one': 1,
    'two': 2,
    'three': 3,
    'four': 4,
    'five': 5,
    'six': 6,
    'seven': 7,
    'eight': 8,
    'nine': 9,
  },
  teens : {
    'ten': 10,
    'eleven': 11,
    'twelve': 12,
    'thirteen': 13,
    'fourteen': 14,
    'fifteen': 15,
    'sixteen': 16,
    'seventeen': 17,
    'eighteen': 18,
    'nineteen': 19,
  },
  tens : {
    'twenty': 20,
    'thirty': 30,
    'forty': 40,
    'fifty': 50,
    'sixty': 60,
    'seventy': 70,
    'eighty': 80,
    'ninety': 90,
  },
  multiples : {
    'hundred': 100,
    'grand': 1000,
    'thousand': 1000,
    'million': 1000000,
    'billion': 1000000000,
    'trillion': 1000000000000,
    'quadrillion': 1000000000000000,
    'quintillion': 1000000000000000000,
    'sextillion': 1000000000000000000000,
    'septillion': 1000000000000000000000000
  }
};

const ordinal = {
  ones: {
    'first': 1,
    'second': 2,
    'third': 3,
    'fourth': 4,
    'fifth': 5,
    'sixth': 6,
    'seventh': 7,
    'eighth': 8,
    'ninth': 9
  },
  teens: {
    'tenth': 10,
    'eleventh': 11,
    'twelfth': 12,
    'thirteenth': 13,
    'fourteenth': 14,
    'fifteenth': 15,
    'sixteenth': 16,
    'seventeenth': 17,
    'eighteenth': 18,
    'nineteenth': 19
  },
  tens: {
    'twentieth': 20,
    'thirtieth': 30,
    'fourtieth': 40,
    'fiftieth': 50,
    'sixtieth': 60,
    'seventieth': 70,
    'eightieth': 80,
    'ninetieth': 90
  },
  multiples: {
    'hundredth': 100,
    'thousandth': 1000,
    'millionth': 1000000,
    'billionth': 1000000000,
    'trillionth': 1000000000000,
    'quadrillionth': 1000000000000000,
    'quintillionth': 1000000000000000000,
    'sextillionth': 1000000000000000000000,
    'septillionth': 1000000000000000000000000
  }
};


//used for the units
const prefixes = {
  'yotta': 1,
  'zetta': 1,
  'exa': 1,
  'peta': 1,
  'tera': 1,
  'giga': 1,
  'mega': 1,
  'kilo': 1,
  'hecto': 1,
  'deka': 1,
  'deci': 1,
  'centi': 1,
  'milli': 1,
  'micro': 1,
  'nano': 1,
  'pico': 1,
  'femto': 1,
  'atto': 1,
  'zepto': 1,
  'yocto': 1,

  'square': 1,
  'cubic': 1,
  'quartic': 1,
};

module.exports = {
  ones: cardinal.ones,
  teens: cardinal.teens,
  tens: cardinal.tens,
  multiples: cardinal.multiples,

  ordinal_ones: ordinal.ones,
  ordinal_teens: ordinal.teens,
  ordinal_tens: ordinal.tens,
  ordinal_multiples: ordinal.multiples,

  prefixes: prefixes,
};

@@ -583,26 +583,26 @@
 'hundred': 1
-00
+e2
 ,%0A    'grand
@@ -601,27 +601,26 @@
   'grand': 1
-000
+e3
 ,%0A    'thous
@@ -622,27 +622,26 @@
 thousand': 1
-000
+e3
 ,%0A    'milli
@@ -642,30 +642,26 @@
 'million': 1
-000000
+e6
 ,%0A    'billi
@@ -662,33 +662,26 @@
 'billion': 1
-000000000
+e9
 ,%0A    'trill
@@ -683,36 +683,27 @@
 trillion': 1
-000000000000
+e12
 ,%0A    'quadr
@@ -708,39 +708,27 @@
 drillion': 1
-000000000000000
+e15
 ,%0A    'quint
@@ -737,34 +737,19 @@
 lion': 1
-000000000000000000
+e18
 ,%0A    's
@@ -765,74 +765,35 @@
 ': 1
-000000000000000000000,%0A    'septillion': 1000000000000000000000000
+e21,%0A    'septillion': 1e24
 %0A  %7D
@@ -1416,18 +1416,18 @@
 edth': 1
-00
+e2
 ,%0A    't
@@ -1439,19 +1439,18 @@
 ndth': 1
-000
+e3
 ,%0A    'm
@@ -1461,22 +1461,18 @@
 onth': 1
-000000
+e6
 ,%0A    'b
@@ -1483,25 +1483,18 @@
 onth': 1
-000000000
+e9
 ,%0A    't
@@ -1506,28 +1506,19 @@
 onth': 1
-000000000000
+e12
 ,%0A    'q
@@ -1533,31 +1533,19 @@
 onth': 1
-000000000000000
+e15
 ,%0A    'q
@@ -1560,34 +1560,19 @@
 onth': 1
-000000000000000000
+e18
 ,%0A    's
@@ -1586,37 +1586,19 @@
 onth': 1
-000000000000000000000
+e21
 ,%0A    's
@@ -1616,32 +1616,11 @@
 ': 1
-000000000000000000000000
+e24
 %0A  %7D

Use scientific notation for clarity.