Difference between revisions of "INT()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 12: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[LENNUM()]], [[ROUND()]], [[SET DECIMALS]] | + | [[FIXED()]], [[LENNUM()]], [[ROUND()]], [[SET DECIMALS]] |
Revision as of 10:49, 11 June 2009
Class
Numeric Data
Purpose
Function to return integer
Syntax
INT(<expN>)
See Also
FIXED(), LENNUM(), ROUND(), SET DECIMALS
Description
The INT() function converts the numeric expression <expN> to an integer by discarding all digits to the right of the decimal point.
Example
? int(2.56) 2 ? int(-2.56) -2
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer