Template:DropCalc: Difference between revisions

From Ephinea PSO Wiki
(proof of concept...............!!!! i swear)
 
m (format change. will affect booma page ~temporarily~)
 
Line 1: Line 1:
{{#ifexpr:{{{1|0}}} = 0 or {{{2|0}}} = 0 | - | {{#expr:1/({{{1}}} * {{{2}}}/10000)}}}}
{{#ifexpr:{{{1|0}}} = 0 or {{{2|0}}} = 0 | - | {{#expr:1/({{{1}}} * ({{{2}}})/100)}}}}
<noinclude>
<noinclude>
==Usage and example==
==Usage and example==
<pre>{{DropCalc|0|0}}</pre>
<pre>{{DropCalc|0|0}}</pre>
{{DropCalc|0|0}}
{{DropCalc|0|0}}
<pre>{{DropCalc|28|0.04272}}</pre>
<pre>{{DropCalc|80|9/16}}</pre>
{{DropCalc|28|0.04272}}
{{DropCalc|80|9/16}}
<pre>{{DropCalc|28|1/2340.57}}</pre>
{{DropCalc|28|1/2340.57}}
</noinclude>
</noinclude>

Latest revision as of 17:32, 12 December 2022

-

Usage and example[edit source]

{{DropCalc|0|0}}

-

{{DropCalc|80|9/16}}

2.2222222222222

{{DropCalc|28|1/2340.57}}

8359.1785714286