Setup > Statistic Setup > Calculated Statistics
You can create a calculated statistic by using the data enter for your individual players statistics.
Here is a guide on setting up individual player statistics:
Once you have created those you can use them to create calculated statistics.
Creating Custom Formulas
A calculated statistic involves a formula comprising of formula fields within a mathematical operation.
- Step 1: Add the formula fields
- Step 2: Enter the formula using the below notation
Built In Operators
Addition: 2 + 2, Subtraction: 2 - 2, Multiplication: 2 * 2, Division: 2 / 2, Exponentation: 2 ^ 2, Unary Minus,Plus (Sign Operators): +2 - (-2), Modulo: 2 % 2
Built In Functions
abs: absolute value,
ceil: nearest upper integer,
exp: euler's number raised to the power (e^x),
floor: nearest lower integer,
log: logarithmus naturalis (base e), sqrt: square root
The formula to the left of the equals sign will give you the result on the right where R1 = 10
R1 +2 = 12
R1 /3 = 3.33
R1 ^ 2 = 100
ceil(R1 /3) = 4
floor(R1 /3) = 3
floor((R1+R1) * -2 /5) = -8