Difference between revisions of "Template:Calculate increment/calc"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
imported>Jimp
Line 1: Line 1:
 
<includeonly>{{#expr:{{#switch:1
 
<includeonly>{{#expr:{{#switch:1
|{{#expr: {{{1}}}/{{{2}}} round 0 < 1.4 }} = 1
+
|{{#expr: {{{1}}}/{{{2}}} round 0 <= 1.4 }} = 1
|{{#expr: {{{1}}}/{{{2}}} round 0 < 3.5 }} = 2
+
|{{#expr: {{{1}}}/{{{2}}} round 0 <= 3.5 }} = 2
|{{#expr: {{{1}}}/{{{2}}} round 0 < 7  }} = 5
+
|{{#expr: {{{1}}}/{{{2}}} round 0 <= 7  }} = 5
 
|10}}*{{{2}}}
 
|10}}*{{{2}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 10:02, 12 September 2011