Template:Convert: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{2}}} | {{#switch: {{{2}}} | ||
| km = {{{1}}} km ({{#expr: {{{1}}} / 1.609 round {{{3|0}}} }} mi) | | km = {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi) | ||
| mi = {{{1}}} mi ({{#expr: {{{1}}} * 1.609 round {{{3|0}}} }} km) | | mi = {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km) | ||
| m = {{{1}}} m ({{#expr: {{{1}}} * 3.281 round {{{3|0}}} }} ft) | | m = {{formatnum: {{{1}}} }} m ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 3.281 round {{{3|0}}} }} }} ft) | ||
| ft = {{{1}}} ft ({{#expr: {{{1}}} / 3.281 round {{{3|0}}} }} m) | | ft = {{formatnum: {{{1}}} }} ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 3.281 round {{{3|0}}} }} }} m) | ||
| kg = {{{1}}} kg ({{#expr: {{{1}}} * 2.205 round {{{3|0}}} }} lb) | | kg = {{formatnum: {{{1}}} }} kg ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.205 round {{{3|0}}} }} }} lb) | ||
| lb = {{{1}}} lb ({{#expr: {{{1}}} / 2.205 round {{{3|0}}} }} kg) | | lb = {{formatnum: {{{1}}} }} lb ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.205 round {{{3|0}}} }} }} kg) | ||
| km2 = {{formatnum: {{{1}}} }} km<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.59 round {{{3|0}}} }} }} sq mi) | | km2 = {{formatnum: {{{1}}} }} km<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.59 round {{{3|0}}} }} }} sq mi) | ||
| sqmi = {{{1}}} sq mi ({{#expr: {{{1}}} * 2.59 round {{{3|0}}} }} km<sup>2</sup>) | | sqmi = {{formatnum: {{{1}}} }} sq mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.59 round {{{3|0}}} }} }} km<sup>2</sup>) | ||
| #default = <span id="uom" style="font-weight:bold; font-style:italic; color:#C51E3A;">Error: Unit of measure is not supported</span> | | #default = <span id="uom" style="font-weight:bold; font-style:italic; color:#C51E3A;">Error: Unit of measure is not supported</span> | ||
}} | }} |
Revision as of 02:59, 24 September 2024
Error: Unit of measure is not supported