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 = | | km = {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi) | ||
| mi = | | mi = {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km) | ||
| m = | | m = {{formatnum: {{{1}}} }} m ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 3.281 round {{{3|0}}} }} }} ft) | ||
| ft = | | ft = {{formatnum: {{{1}}} }} ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 3.281 round {{{3|0}}} }} }} m) | ||
| yd = | | yd = {{formatnum: {{{1}}} }} yd ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.094 round {{{3|0}}} }} }} m) | ||
| mm = | | cm = {{formatnum: {{{1}}} }} cm ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.54 round {{{3|0}}} }} }} in) | ||
| in = | | in cm = {{formatnum: {{{1}}} }} in ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.54 round {{{3|0}}} }} }} cm) | ||
| kg = | | mm = {{formatnum: {{{1}}} }} mm ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 25.4 round {{{3|0}}} }} }} in) | ||
| lb = | | in = {{formatnum: {{{1}}} }} in ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 25.4 round {{{3|0}}} }} }} mm) | ||
| t = | | kg = {{formatnum: {{{1}}} }} kg ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.205 round {{{3|0}}} }} }} lb) | ||
| ST = | | lb = {{formatnum: {{{1}}} }} lb ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.205 round {{{3|0}}} }} }} kg) | ||
| g = | | t = {{formatnum: {{{1}}} }} t ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.102 round {{{3|0}}} }} }} ST) | ||
| oz = | | ST = {{formatnum: {{{1}}} }} ST ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.102 round {{{3|0}}} }} }} t) | ||
| km2 = | | g = {{formatnum: {{{1}}} }} g ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 28.35 round {{{3|0}}} }} }} oz) | ||
| oz = {{formatnum: {{{1}}} }} oz ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 28.35 round {{{3|0}}} }} }} g) | |||
| km2 = {{formatnum: {{{1}}} }} km<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.59 round {{{3|0}}} }} }} sq mi) | |||
| sq mi | | sq mi | ||
| sqmi = {{formatnum: {{{1}}} }} sq mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 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>) | ||
| m2 = | | m2 = {{formatnum: {{{1}}} }} m<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 10.764 round {{{3|0}}} }} }} sq ft) | ||
| sq ft | | sq ft | ||
| sqft = {{formatnum: {{{1}}} }} sq ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 10.764 round {{{3|0}}} }} }} m<sup>2</sup>) | | sqft = {{formatnum: {{{1}}} }} sq ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 10.764 round {{{3|0}}} }} }} m<sup>2</sup>) | ||
| km/h = {{formatnum: {{{1}}} }} km/h ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mph) | | km/h = {{formatnum: {{{1}}} }} km/h ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mph) | ||
| mph = | | mph = {{formatnum: {{{1}}} }} mph ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km/h) | ||
| #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 20:58, 24 September 2024
Error: Unit of measure is not supported