Template:InchDec: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
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 }} }}
{{#vardefine:whole|{{#expr: {{{1}}} / 1 }} }}
{{#vardefine:float|{{#expr: {{{1}}} - {{#var:whole}} round 3 }} }}
{{#vardefine:float|{{#expr: {{{1}}} - {{#var:whole}} }} }}


{{#var:float}}
{{#var:float}}
Line 9: Line 9:
{{{1}}}" ({{#var:mm}} mm)
{{{1}}}" ({{#var:mm}} mm)
{{#var:whole}}  
{{#var:whole}}  
{{#ifeq: float | 0.375 | 3/8" }}
{{#ifeq: {{#expr: {{{1}}} - {{#var:whole}} }} | 0.375 | 3/8" }}


<!--
<!--
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