User:Johan G/convert: Difference between revisions

Jump to navigation Jump to search
take out round modifier... error said there was no operand for it...
(Expression syntax fix: mul → *)
(take out round modifier... error said there was no operand for it...)
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 = {{#expr: {{{1}}} * 0.3048 round {{{4|0}}}}} {{#if: {{{5|}}}||m}}
       | m = {{#expr: {{{1}}} * 0.3048 {{{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 = {{#expr: {{{1}}} * 0.00016457883 round {{{4|0}}}}} {{#if: {{{5|}}}||NM}}
       | NM = {{#expr: {{{1}}} * 0.00016457883 {{{4|0}}}}} {{#if: {{{5|}}}||NM}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
     }}
     }}
Line 53: Line 53:
       | ft = {{error|Conversion not implemented}}
       | ft = {{error|Conversion not implemented}}
       | m = {{error|Conversion not implemented}}
       | m = {{error|Conversion not implemented}}
       | km = {{#expr: {{{1}}} * 1.60934 round {{{4|0}}}}} {{#if: {{{5|}}}||km}}
       | km = {{#expr: {{{1}}} * 1.60934 {{{4|0}}}}} {{#if: {{{5|}}}||km}}
       | NM = {{#expr: {{{1}}} * 0.868976 round {{{4|0}}}}} {{#if: {{{5|}}}||NM}}
       | NM = {{#expr: {{{1}}} * 0.868976 {{{4|0}}}}} {{#if: {{{5|}}}||NM}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
     }}
     }}
Line 91: Line 91:
       | m/s = {{error|Conversion not implemented}}
       | m/s = {{error|Conversion not implemented}}
       | km/h = {{error|Conversion not implemented}}
       | km/h = {{error|Conversion not implemented}}
       | kt = {{#expr: {{{1}}} * 0.869 round {{{4|0}}}}} {{#if: {{{5|}}}||kt}}
       | kt = {{#expr: {{{1}}} * 0.869 {{{4|0}}}}} {{#if: {{{5|}}}||kt}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
     }}
     }}
Line 98: Line 98:
       | m/s = {{error|Conversion not implemented}}
       | m/s = {{error|Conversion not implemented}}
       | km/h = {{error|Conversion not implemented}}
       | km/h = {{error|Conversion not implemented}}
       | mph = {{#expr: {{{1}}} * 1.152 round {{{4|0}}}}} {{#if: {{{5|}}}||mph}}
       | mph = {{#expr: {{{1}}} * 1.152 {{{4|0}}}}} {{#if: {{{5|}}}||mph}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
       | #default = {{error|Parameter '''to-unit''' missing or not supported}}
     }}
     }}
185

edits

Navigation menu