Difference between revisions of "FLOOR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Numeric Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the largest integer that is less than or equal to a given number
 
Function to return the largest integer that is less than or equal to a given number
Line 31: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Numeric Data]]
 +
[[Category:Numeric Data Functions]]

Latest revision as of 15:59, 2 December 2009

Purpose

Function to return the largest integer that is less than or equal to a given number


Syntax

FLOOR(<expN>)


See Also

CEILING(), ISDIGIT(), SIGN()


Description

The FLOOR() function is used to return the largest integer that is less than or equal to <expN>.


Example

? floor(354.89)
       354
? floor(354.19)
       354
? floor(-354.89)
      -355


Products

Recital Server, Recital