Template:DropChance: Difference between revisions

From Ephinea PSO Wiki
(Created page with "{{#ifexpr: {{{1|}}} < 10 | {{#expr: {{{1|}}} round 2}} | {{#ifexpr: {{{1|}}} < 100 | {{#expr: {{{1|}}} round 1}} | {{#expr: {{{1|}}} round 0}}}}}}<noinclude>==Usage and example== <pre>1/{{DropChance|3.1415927}}</pre> 1/{{DropChance|3.1415927}} <pre>1/{{DropChance|63.2120558828557}}</pre> 1/{{DropChance|63.2120558828557}} <pre>1/{{DropChance|555.55555}}</pre> 1/{{DropChance|555.55555}} </noinclude>")
 
mNo edit summary
Line 1: Line 1:
{{#ifexpr: {{{1|}}} < 10 | {{#expr: {{{1|}}} round 2}} | {{#ifexpr: {{{1|}}} < 100 | {{#expr: {{{1|}}} round 1}} | {{#expr: {{{1|}}} round 0}}}}}}<noinclude>==Usage and example==
{{#ifexpr: {{{1|0}}} < 10 | {{#expr: {{{1|0}}} round 2}} | {{#ifexpr: {{{1|0}}} < 100 | {{#expr: {{{1|0}}} round 1}} | {{#expr: {{{1|0}}} round 0}}}}}}
<noinclude>==Usage and example==
<pre>1/{{DropChance|3.1415927}}</pre>
<pre>1/{{DropChance|3.1415927}}</pre>
1/{{DropChance|3.1415927}}
1/{{DropChance|3.1415927}}

Revision as of 03:27, 17 October 2022

0

Usage and example

1/{{DropChance|3.1415927}}

1/3.14

1/{{DropChance|63.2120558828557}}

1/63.2

1/{{DropChance|555.55555}}

1/556