Difference between revisions of "Template:Height CentimetersToInches"
Jump to navigation
Jump to search
m |
m (Changing height calculation to properly floor the ft value instead of rounding) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{1|}}}|{{#switch:{{{1}}}|-1=secret (ひみつ)|{{{1}}} cm ({{ #expr: {{{1}}} * 0.393700787 }} in, {{ #expr: {{{1}}} * 0.393700787 / 12}} ft {{ #expr: {{{1}}} * 0.393700787 mod 12 }} in)}}</includeonly> | + | <includeonly>{{#if:{{{1|}}}|{{#switch:{{{1}}}|-1=secret (ひみつ)|{{{1}}} cm ({{ #expr: {{{1}}} * 0.393700787 round 0}} in, {{ #expr: (floor{{ #expr: {{{1}}} * 0.393700787 / 12 }}) }} ft {{ #expr: {{{1}}} * 0.393700787 mod 12 round 0}} in)}}</includeonly> |