Template:InchDec: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
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}}} - 0{{#var:whole}} }} }}
{{#vardefine:float|{{#expr: {{{1}}} - 0{{#var:whole}} }} }}
{{#var:float}}
{{#var:whole}} 1/{{#expr: 1 / {{#var:float}} }}
{{#var:whole}}  
 
<!--{{#ifeq:{{#var:float}}|0.0625|1/16"}} ({{{1}}} in, {{#var:mm}} mm)
<!--{{#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.125|1/8"}} ({{{1}}} in, {{#var:mm}} mm)
Cookies help us deliver better freestyle-related content. By using our services, you agree to our use of cookies and promise to practice your footwork everyday.

Navigation menu