2017

Table Of Contents
Simple Mathematical Functions
The following functions are useful for performing various simple mathematical calculations.
abs
Returns the absolute value of a given number. The absolute value is the positive value of any number.
abs(Number)Syntax:
Arguments:
Number is the number of which you want the absolute value.
Examples:
abs(3) returns 3.
abs(-3) returns 3.
sign
Returns the sign of a given number. The sign function returns 1 if the number is above or equal to zero, and
returns -1 if less than zero.
sign(Number)Syntax:
Arguments:
Number is the number of which you want the sign.
Examples:
sign(5) returns 1.
sign(0) returns 1.
sign(-0.001) returns -1.
pow
Returns a number raised to the power of an exponent.
pow(Number,Power)Syntax:
Advanced Animation: About Expressions | 1255