Cisco Cisco Unified Customer Voice Portal 10.5(1) Developer's Guide

Page of 145
C
HAPTER 
17:
 
M
ATH
 
 
E
LEMENT 
S
PECIFICATIONS FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO 
 
 
 
 
70
 
 
Operators 
 
Functions 
 
Operation 
Operator 
Power ^ 
Boolean Not 
Unary Plus, Unary Minus 
+x, -x 
Modulus % 
Division / 
Multiplication * 
Addition, Subtraction 
+, - 
Less or Equal, More or Equal  <=, >= 
Less Than, Greater Than 
<, > 
Not Equal, Equal 
!=, == 
Boolean And 
&& 
Boolean Or 
|| 
 
Function 
Syntax 
Sine sin(x) 
Cosine cos(x) 
Tangent tan(x) 
Arc Sine 
asin(x) 
Arc Cosine 
acos(x) 
Arc Tangent 
atan(x) 
Arc Tangent (with 2 parameters)  atan2(y, x) 
Hyperbolic Sine 
sinh(x) 
Hyperbolic Cosine 
cosh(x) 
Hyperbolic Tangent 
tanh(x) 
Inverse Hyperbolic Sine 
asinh(x) 
Inverse Hyperbolic Cosine 
acosh(x) 
Inverse Hyperbolic Tangent 
atanh(x) 
Natural Logarithm 
ln(x) 
Logarithm base 10 
log(x) 
Exponential exp(x) 
Absolute Value / Magnitude 
abs() 
Modulus mod() 
Square Root 
sqrt() 
Sum sum() 
If if()