Jump to content

Ta‌̱mpi‌̱let:Formatnum/doc

Neet di̱ Wikipedia

Ta‌̱mpi‌̱let:Documentation/Dokuseite Formats numbers according to Wikipedia:Number notation.

{{FormatNum|}}

Parameters

[jhyuk a̱tyin ka]
1
Number to be formatted. A decimal point (period or comma) is allowed.
2
Format specification, see Wikipedia:Lua/Module/FormatNum#format

Test table

[jhyuk a̱tyin ka]
Parameters Output Output with 2=de Output with 2=ch Output with 2=iso31_0 Parser function "formatnum:"
-123456.789Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−123,456.789
-123456.7890Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−123,456.7890
-123456.7890Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−123,456,7,890
-12345.6Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−12,345.6
-1234.5Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−1,234.5
-1234Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−1,234
-12.34Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−12.34
-9.1Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−9.1
-9Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−9
-0.5Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.−0.5
0Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.0
9Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.9
9.1Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.9.1
12.34Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.12.34
1234Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.1,234
1234.5Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.1,234.5
12345.6Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.12,345.6
12345.67Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.12,345.67
{{#expr: 100/7}}Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.14.285714285714
100/7Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.100/7
4321mUse the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.4,321m
54321mUse the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.54,321m
54321 mUse the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.54,321 m
more than 4321 mUse the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.more than 4,321 m
approx. 4321 mUse the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template.approx. 4321 m|d