INT()

From Recital Documentation Wiki
Revision as of 12:41, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Numeric Data


Purpose

Function to return integer


Syntax

INT(<expN>)


See Also

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