-
math://n+n
adds two numbers
-
math://avg(n1,n2,n3,...)
returns the average of the numbers in the list (separated by commas)
-
math://n-n
subtracts two numbers
-
math://n*n
multiplies two numbers
-
math://n/n
divides two numbers (returns decimal values)
-
math://n\n
divides two numbers (returns only integers)
-
math://n
mod n
divides two numbers and returns the remainder
-
math://n^n
raises a number to the power of another number
-
math://sqr(n)
returns the square root of a number
-
math://abs(n)
returns the
absolute value of a number (removes negative)
-
math://atn(n)
returns the arctangent of a number
-
math://cos(n)
returns the cosine of a number
-
math://hex(n)
returns the
Hexadecimal value of a decimal number
-
math://int(n)
or math://fix(n)
returns the integer portion of a decimal number
-
math://oct(n)
returns the
octal value of a decimal number
-
math://rnd([n])
returns a random number between 1 and 0
where n is an optional seed value
-
math://sin(n)
returns the sine of a number
-
math://tan(n)
returns the tangent of a number
-
math://rgb(r,g,b)
returns a long integer value that represents a color
where r is a RED value 0-255
where g is a GREEN value 0-255
where b is a BLUE value 0-255
-
math://round(n[,
d])
returns a rounded value for n
where d is an optional number of decimal places to round to
-
math://n
AND n
Performs a logical conjunction on two values
-
math://n
EQV n
Performs a
logical equivalence on two values
-
math://n
IMP n
Performs a logical implication on two values
-
math://n
NOT n
Performs logical negation on two values
-
math://n
OR n
Performs a logical disjunction on two values
-
math://n
XOR n
Performs a logical exclusion on two values
-
math://n
[> | >= | = | <= | <=] n
Compares two numbers using ONE of the comparison
operators between the square brackets and returns TRUE
or FALSE