Template:InchDec: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
{{#vardefine:whole|{{#expr: {{{1}}} round 0}} }} | {{#vardefine:whole|{{#expr: {{{1}}} round 0}} }} | ||
{{#vardefine:float|{{#expr: {{{1}}} - {{#var:whole}} }} }} | {{#vardefine:float|{{#expr: {{{1}}} - {{#var:whole}} }} }} | ||
<!-- Output --> | <!-- Output --> | ||
{{#var:whole}} {{#ifeq:{{#var:float}}|0.375|3/8"|Dame}} ({{{1}}}", {{#var:mm}} mm) | |||
{{#var:whole}} | |||
{{#ifeq:{{#var:float}}|0.375|3/8"|Dame}} | |||
<!-- | <!-- |
Revision as of 01:02, 15 February 2016
Expression error: Unrecognized punctuation character "{". Dame ({{{1}}}", Expression error: Unrecognized punctuation character "{". mm)