Template:Lakh/doc

< Template:Lakh
Revision as of 18:27, 25 April 2020 by Wikipedia>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to convert the Indian unit lakh into standard Western notation. This template uses the {{formatnum:}} magic word.

Usage

{{lakh | ''n'' | r= | nosep= }}
  • n is the number of lakh
  • r – Option to remove separators from input numbers: 1,000 → 1000
  • nosep – Option to remove separators from the output result

These two parameters correspond to the R and NOSEP options for the {{formatnum:}} parser function.

Examples

{{lakh | 1}}: 100,000

{{lakh | 1000 | nosep=1}}: 100000000

{{lakh | 1,000 | r=1}}: 100,000,000

{{lakh | 1,000 | r=1 | nosep=1}}: 100000000

Combine with {{Number to words}}: {{number to words|{{lakh | 100 | nosep=1}}}}: ten million

See also