User Guide : Using Content Extraction Language : Language Syntax and Examples : Int (number)
 
Share this page                  
Int (number)
This built-in function returns the integer portion of a number. The argument number can be any valid numeric expression. Int removes the fractional part of number and returns the resulting integer value. The data type of the return value is the same as that of the number argument. If the numeric expression results in a Null, Int returns a Null. If number is negative, Int returns the first negative integer less than or equal to number.
Example
# The following example returns -99:
Int(-98.6)