Template:DropRate: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
(Blanked the page)
Tag: Blanking
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:number|{{{1}}}}}


{{#vardefine:numerator_orig|{{#expr: floor(100 * {{#var:number}}) }} }}
{{#vardefine:denominator_orig|100}}
{{#vardefine:original_frac|{{#var:numerator_orig}}/{{#var:denominator_orig}}}}
{{#vardefine:percentage_15|{{#expr: floor(100 * (1 + (15 / 100))) }} }}
{{#vardefine:percentage_25|{{#expr: floor(100 * (1 + (25 / 100))) }} }}
{{#vardefine:percentage_30|{{#expr: floor(100 * (1 + (30 / 100))) }} }}
{{#vardefine:percentage_40|{{#expr: floor(100 * (1 + (40 / 100))) }} }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_15}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_15}})) * ({{#var:numerator_orig}} - {{#var:percentage_15}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_25}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_25}})) * ({{#var:numerator_orig}} - {{#var:percentage_25}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_30}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_30}})) * ({{#var:numerator_orig}} - {{#var:percentage_30}}) }}
{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_40}}))}}/{{#expr: floor(100 / ({{#var:numerator_orig}} - {{#var:percentage_40}})) * ({{#var:numerator_orig}} - {{#var:percentage_40}}) }}

Latest revision as of 12:05, 5 April 2024