Developing Apama Applications > EPL Methods Quick Reference > integer methods
integer methods
Method
Result
abs()
Returns as an integer the absolute value.
canParse(string)
Returns a boolean true if the argument can be successfully parsed.
getUnique()
Generates a unique integer in the scope of the correlator. This is a type method as well as an instance method.
max(integer, integer)
Returns as an integer the value of the larger operand. You can call this method on the integer type or on an instance of an integer type.
min(integer, integer)
Returns as an integer the value of the smaller operand. You can call this method on the integer type or on an instance of an integer type.
parse(string)
Returns the integer instance represented by the argument. You can call this method on the integer type or on an instance of an integer type.
pow(integer)
Returns as an integer the value of the operand to the power of the argument.
rand()
Returns a random integer value from 0 up to (but not including) the value of the operand.
toDecimal()
Returns a decimal representation.
toFloat()
Returns a float representation.
toString()
Returns a string representation.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.