Difference between revisions of "Template:Height CentimetersToInches"
Jump to navigation
Jump to search
m (Protected "Template:Height CentimetersToInches" [edit=sysop:move=sysop]) |
m (Changing height calculation to properly floor the ft value instead of rounding) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{{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> |