Long scale

The long scale is a way of writing numbers based on -illions and -illiards (in contrast to the short scale which uses only -illions). Formerly used in the UK, it is generally no longer used in English-speaking countries. Many other languages such as French and German use translated equivalents of the long scale. Numbers in this scale are named due to that they are based off of powers of 1 million.

The long scale is used in Epstein system nomenclature.

rules

 * Separate the number to blocks by three starting from 0.
 * Substitute the n-th separator with (n/2)-th Latin prefix. If the position of the separator is odd, then add -illion to the prefix, otherwise add -illiard. The 0-th separator is replaced by thousand.

examples

 * 65,536 = 65 thousand 536
 * 563,535,443 = 563 million 535 thousand 443
 * 12,782,303,323 = 12 milliard 782 million 303 thousand 323
 * 7,625,597,484,987 = 7 billion 625 milliard 597 million 484 thousand 987
 * 59,765,752,000,000,000 = 59 billiard 765 billion 752 milliard
 * 1,5J4,067,000,000,000,000 = 1 trillion 5J4 billiard X7 billion