Mathematical Functions

Angle

Number Angle(Number x, Number y)

This returns the angle, in degrees, of a line from the origin to the specified coordinates. The y coordinate goes down the page so the angle will be clockwise relative to the horizontal.

x - This is the x coordinate in pixels of the target point.

y - This is the y coordinate in pixels of the target point. Remember y coordinate go down the page.

Antilog10

Number Antilog10(Number x)

This returns the common antilog of a number.

x - Number for which the antilog is required.

Cos

Number Cos(Number angle)

This returns the standard trigonometric cosine of an angle.

angle - This is the angle in degrees for which the cosine should be returned.

Exp

Number Exp(Number x)

This returns the value of ex.

x - This is the power to raise e by.

Log10

Number Log10(Number x)

This returns the common ( base 10 ) logarithm of x.

x - The value of which to take the log.

LogE

Number LogE(Number x)

This returns the natural ( base e ) logarithm of x.

x - The value of which to take the log.

Round

Number Round(Number value, ERound mode = Nearest)

This will round a value to an integer.

value - This is the value to be rounded.

mode - This specified what sort of rounding to do. See the ERound enumerated type.

Sin

Number Sin(Number angle)

This returns the standard trigonometric sine of an angle.

angle - This is the angle in degrees for which the sine should be returned.

Sqrt

Number Sqrt(Number x)

This returns square root of a number.

x - The value of which to take the square root.

Tan

Number Tan(Number angle)

This returns trigonometric tangent of an angle.

angle - The angle in degrees of which to take the tangent.