Template:Sum: Difference between revisions
Appearance
m category |
m correct math - you need to mention the full entity name |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude>{{#expr: {{Ontology:{{{1|Q218}}}/P158}} + {{Ontology:{{{2|Q218}}}/P158}}}}</onlyinclude> | |||
------ | ------ | ||
total plies: {{#expr: ({{{WPLY1|1}}} + {{{WPLY2|1}}} + abs ({{{WPLY1|1}}} - {{{WPLY2|1}}})) / 2 + 1 }} [https://math.stackexchange.com/questions/58792/how-to-calculate-maximum-or-minimum-of-two-numbers-without-using-if/67495#67495] <!-- half a + b + abs(a - b) --> | total plies: {{#expr: ({{{WPLY1|1}}} + {{{WPLY2|1}}} + abs ({{{WPLY1|1}}} - {{{WPLY2|1}}})) / 2 + 1 }} [https://math.stackexchange.com/questions/58792/how-to-calculate-maximum-or-minimum-of-two-numbers-without-using-if/67495#67495] <!-- half a + b + abs(a - b) --> | ||
[[Category:Wavebuilder templates | [[Category:Wavebuilder templates]] | ||