Template:InchDec: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{#vardefine:mm|{{#expr: {{{1}}} * 25.4 round 1}} }} | {{#vardefine:mm|{{#expr: {{{1}}} * 25.4 round 1}} }} | ||
{{#vardefine:whole|{{#expr: {{{1}}} / 1 round 0}} }} | {{#vardefine:whole|{{#expr: {{{1}}} / 1 round 0}} }} | ||
{{#vardefine:frac| | {{#vardefine:frac|{{#expr: {{{1}}} / 1 round 1}} }} | ||
<!-- Output --> | <!-- Output --> | ||
{{#var:dec}}" ({{#var:mm}} mm) | {{#var:dec}}" ({{#var:mm}} mm) | ||
{{#var:whole}} | {{#var:whole}} 1/{{#var:frac}} | ||
Revision as of 00:26, 15 February 2016
{{{1}}}" (Expression error: Unrecognized punctuation character "{". mm) Expression error: Unrecognized punctuation character "{". 1/Expression error: Unrecognized punctuation character "{".