The following table lists the functions and operators that you can use in parameter expressions.
|
Symbol |
Description |
Example |
|
+ |
Add |
3+4=7 |
|
- |
Subtract |
9-4=5 |
|
* |
Multiply by |
3*6=18 |
|
/ |
Divide by |
9/2=4.5 |
|
^ |
raise to power of |
4^5=1024 |
|
\ |
Integer divide by |
9\2=4 |
|
SQR |
square root |
SQR(64)=8 |
|
() |
prioritizes evaluation of an expression |
5*(1+2)=15 |
|
! |
Factorial |
5!=120 Fact(5)=5x4x3x2x1-120 |
|
% |
Percentage |
25%=0.25 |
|
MIN |
Minimum value |
MIN(1,2,4,5,7)=1 |
|
MAX |
Maximum value |
MAX(3,8)=8 |
|
SIN |
Sine |
SIN(pi)=0 |
|
COS |
Cosine |
COS(pi)=-1 |
|
TAN |
Tangent |
TAN(pi)=0 |
|
ASIN |
Arc Sine |
ASIN(1)=1.570796 |
|
ACOS |
Arc cosine |
ACOS(-1)=3.141593 |
|
ATAN |
Arc Tangent |
ATAN(0)=0 |
|
SEC |
Secant |
SEC(0)=1 |
|
CSC |
Cosecant |
CSC(1)=1.188395 |
|
COT |
Cotangent |
COT(1)=0.642093 |
|
ABS |
Absolute value |
ABS(-8)=8 |
|
EXP |
e to the power of |
EXP(3)=20.0855 |
|
EXP2 |
2 to the power of |
EXP2(3)=8 |
|
EXP10 |
10 to the power of |
EXP10(3)=1000 |
|
LOG |
Natural logarithm |
LOG(16)=2.77259 |
|
LOG2 |
Log base 2 |
LOG2(8)=4 |
|
LOG10 |
Log base 10 |
LOG10(1000)=3 |
NOTES:
The trigonometric examples in the above table assume that "pi" has been defined as a parameter.
Functions and operators are not case sensitive.