Gets the name of a number, even if it's stupidly big. Supersedes TheoryOfNekomata/number-name.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

1.3 KiB

Some inputs to consider:

  1. 1/2 converts to one half. When only lazy is enabled, it converts to one over two.
  2. 5/10 or 0.5 or .5 (on en-US or en-PH) converts to five tenths. When simplify is true, it converts to one half. When only lazy is enabled, it converts to five over ten.
  3. 1e-2 converts to one hundredth. It follows by one thousandth, one millionth, one billionth, one trillionth etc.
  4. 2/1e+2 converts to two hundredths. 2/2e+2 converts to two two-hundredths.
  5. Should we enable 1e+(1e+100) inputs? “googolplex”
    1. Should we enable 1e+1/10?
    2. Should we enable 1e+1/1e+2?
    3. Should we enable 1e+(1e+1)/10?