Template:Fn
Jump to navigation
Jump to search
Template documentation
|
---|
View or edit this documentation. (About template documentation)
Portions of the template sample may not be visible without values provided. |
Usage
Results are wrapped in code for clarity.
Input | Result |
---|---|
{{fn|987654321.654321}} |
987,654,321.654321
|
{{fn|00001}} |
00,001
|
Formats a number, adding group separators. The number MUST NOT contain any group separators; decimal separator "." is allowed thought. This is an alias for {{formatnum}} formatting function. You can read about it here: https://www.mediawiki.org/wiki/Help:Magic_words/en#Formatting
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number | 1 | The number to format. It MUST NOT contain any group separators; decimal separator "." is allowed. | Number | required |