Template:DropRate: Difference between revisions
(Created page with "{{#vardefine:number|{{{1}}}}} {{#vardefine:numerator_orig|{{#expr: round(100 * {{#var:number}}) }} }} {{#vardefine:denominator_orig|100}} {{#vardefine:original_frac|{{#expr: {{#var:numerator_orig}} }}/{{#var:denominator_orig}} }} {{#vardefine:percentage_15|{{#expr: round(100 * (1 + (15 / 100))) }} }} {{#vardefine:percentage_25|{{#expr: round(100 * (1 + (25 / 100))) }} }} {{#vardefine:percentage_30|{{#expr: round(100 * (1 + (30 / 100))) }} }} {{#vardefine:percentage_40|...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:number| | {{#vardefine:number|1/100}} | ||
{{#vardefine:numerator_orig|{{#expr: round(100 * {{#var:number}}) }} }} | {{#vardefine:numerator_orig|{{#expr: round(100 * {{#var:number}}) }} }} | ||
{{#vardefine:denominator_orig|100}} | {{#vardefine:denominator_orig|100}} | ||
{{#vardefine:original_frac| | {{#vardefine:original_frac|{{#var:numerator_orig}}/{{#var:denominator_orig}}}} | ||
{{#vardefine:percentage_15|{{#expr: round(100 * (1 + (15 / 100))) }} }} | {{#vardefine:percentage_15|{{#expr: round(100 * (1 + (15 / 100))) }} }} |
Revision as of 11:30, 5 April 2024
{{#vardefine:number|1/100}}
{{#vardefine:numerator_orig|Expression error: Unexpected round operator. }} {{#vardefine:denominator_orig|100}} {{#vardefine:original_frac|{{#var:numerator_orig}}/{{#var:denominator_orig}}}}
{{#vardefine:percentage_15|Expression error: Unexpected round operator. }} {{#vardefine:percentage_25|Expression error: Unexpected round operator. }} {{#vardefine:percentage_30|Expression error: Unexpected round operator. }} {{#vardefine:percentage_40|Expression error: Unexpected round operator. }}
Expression error: Unexpected round operator./Expression error: Unexpected round operator. Expression error: Unexpected round operator./Expression error: Unexpected round operator. Expression error: Unexpected round operator./Expression error: Unexpected round operator. Expression error: Unexpected round operator./Expression error: Unexpected round operator.