Ta̱mpi̱let:Formatnum/doc
Li
Ta̱mpi̱let:Documentation/Dokuseite Formats numbers according to Wikipedia:Number notation.
Template
[jhyuk a̱tyin ka]{{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.789 | 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. |
−123,456.789 |
| -123456.7890 | 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. |
−123,456.7890 |
| -123456.7890 | 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. |
−123,456,7,890 |
| -12345.6 | 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. |
−12,345.6 |
| -1234.5 | 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. |
−1,234.5 |
| -1234 | 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. |
−1,234 |
| -12.34 | 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. |
−12.34 |
| -9.1 | 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. |
−9.1 |
| -9 | 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. |
−9 |
| -0.5 | 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. |
−0.5 |
| 0 | 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. |
0 |
| 9 | 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. |
9 |
| 9.1 | 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. |
9.1 |
| 12.34 | 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. |
12.34 |
| 1234 | 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. |
1,234 |
| 1234.5 | 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. |
1,234.5 |
| 12345.6 | 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. |
12,345.6 |
| 12345.67 | 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. |
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/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. |
100/7 |
| 4321m | 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. |
4,321m |
| 54321m | 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. |
54,321m |
| 54321 m | 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. |
54,321 m |
| more than 4321 m | 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. |
more than 4,321 m |
| approx. 4321 m | Use the colon ({{formatnum:...}}) to invoke the magic word directly instead of the pipe ({{formatnum|...}}) which invokes the template. |
approx. 4321 m|d |