INT()

From Lianjapedia
Revision as of 08:59, 4 February 2013 by Helen.george (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Lianja Server, Lianja