Template:INRConvert/Wordify
1
This subtemplate will accept a number and output a formatted string with a smaller number and the divisor as a word in a number scaling system. For example, an input of 1010000 (with the short scale system and rounding to two decimal places) will result in an output of "1.01 billion".
This template will factorise out trillion, billion and million from the given number for the short scale system. Use the round
parameter to round the resulting number (e.g. round=3
will yield 1.010 billion). Use the numsys
parameter to choose the numbering system; currently, the supported arguments are usa
for the short scale and ind
for the Indian numbering system.
The number output will be formatted to add decimal separators in the case of large numbers.