Template:InchDec: Difference between revisions

From The Freestyle Knowledge Base
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 -->
{{{1}}}" ({{#var:mm}} mm)
{{#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)