NOTE!
- In v2.21.6, this parser will now ignore commas, periods and quotes adjacent to the named number word (e.g. "10 million, three...").
- This parser will convert named numbers into appropriate values so they are sorted correctly.
- Named numbers include values:
- zero to twenty; by one ("one", "two", "three", ..., "nineteen", "twenty")
- twenty to hundred; by ten ("twenty", "thirty", "forty", ... "ninety", "hundred")
- thousand (1e3) to duotrigintillion (1e99); by 10^(3n+3) value ("thousand", "million", "billion", ... "untrigintillion", "duotrigintillion")
- googl (1e100)
- Even bigger named values will need to be manually added to the parser code; see this wikipedia page for more names.
Demo
Numbers | Large Numbers |
---|---|
5 hundred | one hundred and fifty two million |
four hundred thousand five hundred fourty three | 710,231,000 |
one hundred and fifty five | 10 million, three hundred sixty five thousand, four hundred and ninety one |
negative twelve | 10 million and three |
minus three hundred and fifty seven thousand four hundred and two | 6 billion eight thousand |
zero | 3 hundred quadrillion |
three hundred twenty | 145 decillion |
forty-two | 700 thousand |
ninety-nine thousand nine hundred and ninety-nine | 2.3 million |
2.3 thousand | 2.3 googl |
minus one | 8 hundred thousand |
seven hundred fifty two | 9 hundred-million |
one hundred and thirty-three | Twenty-three trillion |
Page Header
<!-- blue theme stylesheet with additional css styles added in v2.0.17 --> <link rel="stylesheet" href="../css/theme.blue.css"> <!-- tablesorter plugin --> <script src="../js/jquery.tablesorter.js"></script> <!-- load metric parser --> <script src="../js/parsers/parser-named-numbers.js"></script>