Developing Apama Applications > Developing Apama Applications in EPL > 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 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.