Template:Convert: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{2}}}
{{#switch: {{lc:{{{2}}}}}
| km =    {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi)
| km =    {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi)
| mi =    {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km)
| mi =    {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km)

Revision as of 21:39, 24 September 2024

Error: Unit of measure is not supported