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 2 < 14 }} = 1
+
|{{#expr: {{{1}}}/{{{2}}} round 0 < 14 }} = 1
|{{#expr: {{{1}}}/{{{2}}} round 2 < 35 }} = 2
+
|{{#expr: {{{1}}}/{{{2}}} round 0 < 35 }} = 2
|{{#expr: {{{1}}}/{{{2}}} round 2 < 70 }} = 5
+
|{{#expr: {{{1}}}/{{{2}}} round 0 < 70 }} = 5
 
|10}}*{{{2}}}
 
|10}}*{{{2}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:07, 12 September 2011