INT()

From Recital Documentation Wiki
Revision as of 15:50, 27 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


Purpose

Function to return integer


Syntax

INT(<expN>)


See Also

FIXED(), LENNUM(), ROUND(), SET DECIMALS, SET FIXED


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