Difference between revisions of "Talk:Floor"

Jump to navigation Jump to search
385 bytes removed ,  16:55, 18 October 2008
no edit summary
imported>DragoonWraith
imported>DragoonWraith
Line 24: Line 24:


::But regardless, using Modulo would eliminate dependence on the particular implementation there:
::But regardless, using Modulo would eliminate dependence on the particular implementation there:
<!--
{{IndentPre|2|
-->{{#ifexpr: 2 > 0|<dl><dd>}}<!--
  short flooredInt
-->{{#ifexpr: 2 > 1|<dl><dd>}}<!--
  float decimalValue
  -->{{#ifexpr: 2 > 2|<dl><dd>}}<!--
   
  -->{{#ifexpr: 2 > 3|<dl><dd>}}<!--
  set decimalValue to 1.9
  -->{{#ifexpr: 2 > 4|<dl><dd>}}<!--
  set flooredInt to decimalValue - ( decimalValue % 1 )
  -->{{#ifexpr: 2 > 5|<dl><dd>}}<!--
  ;; 1.9 - 0.9 = 1
  -->{{#ifexpr: 2 > 6|<dl><dd>}}<!--
 
  -->{{#ifexpr: 2 > 7|<dl><dd>}}<!--
  set decimalValue to 2.0
-->{{#ifexpr: 2 > 8|<dl><dd>}}<!--
  set flooredInt to decimalValue - ( decimalValue % 1 )
  -->{{{2}}}<!--
  ;; 2.0 - 0 = 2
-->{{#ifexpr: 2 > 0|</dl>}}<!--
}}
  -->{{#ifexpr: 2 > 1|</dl>}}<!--
-->{{#ifexpr: 2 > 2|</dl>}}<!--
  -->{{#ifexpr: 2 > 3|</dl>}}<!--
-->{{#ifexpr: 2 > 4|</dl>}}<!--
-->{{#ifexpr: 2 > 5|</dl>}}<!--
-->{{#ifexpr: 2 > 6|</dl>}}<!--
-->{{#ifexpr: 2 > 7|</dl>}}<!--
-->{{#ifexpr: 2 > 8|</dl>}}
::That template is '''awesome''', Qazaaq, by the way.
::That template is '''awesome''', Qazaaq, by the way.
::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 17:41, 18 October 2008 (EDT)
::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 17:41, 18 October 2008 (EDT)

Navigation menu