Format price error: cannot parse value ""
This template displays numbers typically representing prices in a pleasant way, ideally suited for articles. Numbers one thousand or greater are reduced down and rounded to a total of three digits followed by a multiplier text, and smaller numbers receive separators and exactly two digits to represent cents, which does not always happen with the ((formatnum:))
magic word.
((Format price|value|digits))
Where:
Providing non-numeric parameters, failing to provide any parameter, or providing a negative value parameter, result all in a link to the NaN article. Despite its name, this template only handles the number-formatting, not any unit symbols – consider ((currency)) for that separate feature.
$((Format price|1234))
= $1,234$((Format price|12345))
= $12,345$((Format price|123456))
= $123,456$((Format price|1000000))
= $1 million¥((Format price|98765432109876))
= ¥98.8 trillion((Format price|7.86178E+25)) atoms
= 78.6 septillion atomsNo description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
value | 1 | the value that will be formatted and displayed
| Number | required |
digits | 2 | sets the digit in which a value lower than one thousand must be rounded, defaulting to "2" (cents) if unspecified | Number | suggested |