Jump to content

Template:Lakh/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]
{{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

[edit]

{{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

[edit]