My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 30, 2008 by stucco
Operators  
Listing of available Operators in the standard OperatorSet

Alternatively there are instructions available on how to use a custom OperatorSet.

Mathematical

Symbol Operator Type Example
+ Addition Symbol 4 + 2
- Subtraction Symbol 1 - 2
* Multiplication Symbol 3 * 2
/ Division Symbol 6 / 2
% Modulo Symbol 5 % 2
max Maximum Function max( 4, 5, 6 )
min Minimum Function min( 4, 5, 6 )
floor Floor Function floor( 2.9 )
ceil Ceiling Function ceil( 2.1 )
neg Negative Function neg( 2 )
abs Absolute Value Function abs( 4 )
cos Cosine Function cos( 90 )
sin Sine Function sin( 180 )
tan Tangent Function tan( 45 )
acos ArcCosine Function acos( 1 )
asin ArcSine Function asin( 0 )
atan ArcTangent Function atan( 1 )
deg RadiansToDegrees Function deg( 1 )
rad DegreesToRadians Function rad( 1 )

Comparison

Symbol Operator Type Example
== Equal Symbol 1 == 1
< LessThan Symbol 1 < 2
<= LessThanOrEqual Symbol 1 <= 1
> GreaterThan Symbol 2 > 1
>= GreaterThanOrEqual Symbol 1 >= 1

String

Symbol Operator Type Example
substr Substring Function substr( abcdef, 2, 4 )

Boolean

Symbol Operator Type Example
AND And Symbol true AND false
OR Or Symbol false OR true
NOT Not Symbol NOT false

Date

Symbol Operator Type Example
dateDifference Date Difference Function dateDifference( date1, date2, Y )


Sign in to add a comment
Hosted by Google Code