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

Revision as of 06:31, 12 September 2011