User:Johan G/convert: Difference between revisions

adding ft -> m and ft -> NM conversion formulas
(adding mph -> kt and kt -> mph formulas... hope i've done it right by copying an existing one and changing the div to mul for multiplying...)
(adding ft -> m and ft -> NM conversion formulas)
Line 24: Line 24:
       | mm = {{error|Conversion not implemented}}
       | mm = {{error|Conversion not implemented}}
       | in = {{error|Conversion not implemented}}
       | in = {{error|Conversion not implemented}}
       | m = {{error|Conversion not implemented}}
       | m = {{#expr: {{{1}}} mul 0.3048 round {{{4|0}}}}} {{#if: {{{5|}}}||m}}
       | km = {{error|Conversion not implemented}}
       | km = {{error|Conversion not implemented}}
       | mi = {{error|Conversion not implemented}}
       | mi = {{error|Conversion not implemented}}
       | NM = {{error|Conversion not implemented}}
       | NM = {{#expr: {{{1}}} mul 0.00016457883 round {{{4|0}}}}} {{#if: {{{5|}}}||NM}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
     }}
     }}
185

edits