[][src]Module googology::conway_wechsler

Methods for the Conway-Wechsler large number naming system. A proper description of how this system works can be found on this website.

We add to this system just slightly by allowing the user to choose between the short scale (thousand, million, billion, trillion...), which is the standard in modern English, and the long scale (thousand, million, milliard, billion...), which is more common in European languages, and which used to be the standard for British English.

Functions

full_name

Gives a full length name for a number represented by an arbitrary sequence of digits (example: "nineteen thousand fourty two" for "19042").

power_of_ten

Gives a name for a number representing a power of ten. This function is equivalent to using full_name with a one followed by as many zeroes as would be indicated the number described by digits.