Difference between revisions of "INT()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
m (Text replace - "Recital" to "Lianja")
Line 25: Line 25:
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Numeric Data]]
 
[[Category:Numeric Data]]
 
[[Category:Numeric Data Functions]]
 
[[Category:Numeric Data Functions]]

Revision as of 13:22, 7 December 2012

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