Note: parts of or the entire template might not be visible without values provided.
- Description
- This template formats a number in the local format (local numerals, local thousands separator, decimal separator and the pattern of separators [some languages for example have a ten-thousands separator]) of the user's preferred language.
- Syntax
- Type
{{formatnum}} - Sample output
{{Formatnum|<100000>}}→ 100,000{{Formatnum|<100000>}}→ 100000{{Formatnum|<100000>}}→ 100000{{Formatnum|<12345.67>}}→ 12,345.67{{Formatnum|<-102>}}→ −102{{Formatnum|<1234567890>|<ar>}}→ ١٬٢٣٤٬٥٦٧٬٨٩٠
See also
- Global Lua Modules/Formatnum
- Module:Formatnum
- Full documentation of Template:Formatnum on Wikimedia Commons