Cisco Cisco Customer Voice Portal 8.0(1) Developer's Guide

Page of 187
This setting specifies the type of data
that will store the result of the
Element
false
true
Yes
string
enum
Type
(Type)
mathematical expression. Possible
values are: 
Element
 | 
Session
. Default
Element
.
This setting specifies the name to assign
to the data that will store the result of
the mathematical expression.
None
true
true
Yes
string
Name
(Name)
This setting specifies the mathematical
expression to parse and evaluate. For
None
true
true
Yes
string
Expression
(Expression)
supported operators and functions see
tables below.
Operators and Functions
Syntax
Function Name
Operator
Operator Name
sin(x)
Sine
^
Power
cos(x)
Cosine
!
Boolean Not
tan(x)
Tangent
+x, -x
Unary Plus, Unary Minus
asin(x)
Arc Sine
%
Modulus
acos(x)
Arc Cosine
/
Division
atan(x)
Arc Tangent
*
Multiplication
atan2(y, x)
Arc Tangent (with 2 parameters)
+, -
Addition, Subtraction
sinh(x)
Hyperbolic Sine
<=, >=
Less or Equal, More or Equal
cosh(x)
Hyperbolic Cosine
<, >
Less Than, Greater Than
tanh(x)
Hyperbolic Tangent
!=, ==
Not Equal, Equal
asinh(x)
Inverse Hyperbolic Sine
&&
Boolean And
acosh(x)
Inverse Hyperbolic Cosine
||
Boolean Or
atanh(x)
Inverse Hyperbolic Tangent
ln(x)
Natural Logarithm
log(x)
Logarithm base 10
exp(x)
Exponential
abs()
Absolute Value / Magnitude
mod()
Modulus
sqrt()
Square Root
sum()
Sum
if()
If
Element Specifications for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
110
Chapter 27: Math
Operators and Functions