Skip to content
Steven edited this page Nov 13, 2016 · 3 revisions

Supported Operations

The available operations are:

  • Addition ( + )
  • Subtraction ( - )
  • Multiplication ( * )
  • Division ( / )
  • Exponent ( ^ )
  • Log ( _ ) - premium only

Formulas can also use functions in the premium version. Available functions are:

Function Description Example
abs(x) Absolute value abs(-1 * lvl)
ceil(x) Rounds up ceil(0.25 * lvl) + 4
cos(x) Cosine using degrees cos(360 / lvl)
floor(x) Rounds down floor(lvl * 2.25 ^ 2)
sqrt(x) Square root root(lvl * 0.3 + 2)
sign(x) 1 if positive, -1 if negative, 0 if 0 sign(cos(lvl * 20))
sin(x) Sine using degrees sin(lvl ^ 2)
sq(x) Square (x * x) sq(lvl) * 2
tan(x) Tangent using degrees tan(lvl ^ 0.1)

Order of Operations

PEMADS rules do not apply to these formulas. They are read from left to right other than parenthesis. For an example of operator precedence, the following equations are identical and equate to 0:

2-5*4+2(5+1)^2 ((2-5)*4+2(5+1))^2

Clone this wiki locally