How number to words works
This converter takes any integer and writes it out in English words. It breaks the number into groups of three digits (ones, thousands, millions, billions, trillions), converts each group separately, then joins them with the appropriate scale word.
For example, 12,345 is split into 12 (thousands) and 345 (ones). The 12 becomes "twelve thousand" and the 345 becomes "three hundred and forty-five", giving "twelve thousand, three hundred and forty-five". The British convention of using "and" before the tens is followed.
The converter handles negative numbers (prefixed with "negative") and zero. It works for integers up to 999 trillion. Decimal numbers are not supported; round to the nearest integer first if needed.