Difference between revisions of "Template:Infobox mountain/convert"
Jump to navigation
Jump to search
imported>Droll (added comments) |
imported>Droll (found the definition of a foot at (Foot (length)) |
||
| Line 1: | Line 1: | ||
{{#switch: {{lc:{{{2|}}}}} | {{#switch: {{lc:{{{2|}}}}} | ||
| − | | ft = {{#iferror: {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} * 0. | + | | ft = {{#iferror: {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} * 0.30480 round 1}}}} | {{error|Invalid value}} }}<!-- to feet --> |
| − | | m = {{#iferror: {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} | + | | m = {{#iferror: {{formatnum:{{#expr: {{formatnum:{{{1|}}}|R}} / 0.30480 round 0}}}} | {{error|Invalid value}} }}<!-- to metres --> |
| {{error|Invalid unit}} | | {{error|Invalid unit}} | ||
}} | }} | ||
Revision as of 01:20, 11 March 2010
Invalid unit