Difference between revisions of "Template:Height CentimetersToInches"

From K15 Database
Jump to navigation Jump to search
(New page: <includeonly>{{{1}}} cm ({{ #expr: {{{1}}} * 0.393700787 }} in, {{ #expr: {{{1}}} * 0.393700787 / 12}} ft {{ #expr: {{{1}}} * 0.393700787 mod 12 }} in)</includeonly>)
 
m (Changing height calculation to properly floor the ft value instead of rounding)
 
(3 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>

Latest revision as of 18:12, 18 June 2008