15,595
edits
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}} }} }} | ||
{{#var:whole}} {{#ifeq:{{#var:float}}|0.375|3/8"| | {{#var:whole}} | ||
{{#ifeq:{{#var:float}}|0.0625|1/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.125|1/8"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.1875|3/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.25|1/4"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.3125|5/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.375|3/8"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.4375|7/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.5|1/2"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.5625|9/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.625|5/8"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.6875|11/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.75|3/4"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.8125|13/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.875|7/8"}} ({{{1}}} in, {{#var:mm}} mm) | |||
{{#ifeq:{{#var:float}}|0.9375|15/16"}} ({{{1}}} in, {{#var:mm}} mm) | |||
<noinclude> | <noinclude> |