Difference between revisions of "FLOOR()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==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
 
  
 
==Syntax==
 
==Syntax==
 
FLOOR(<expN>)
 
FLOOR(<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[CEILING()]], [[ISDIGIT()]], [[SIGN()]]
 
[[CEILING()]], [[ISDIGIT()]], [[SIGN()]]
 
  
 
==Description==
 
==Description==
 
The FLOOR() function is used to return the largest integer that is less than or equal to <expN>.
 
The FLOOR() function is used to return the largest integer that is less than or equal to <expN>.
 
  
 
==Example==
 
==Example==
Line 25: Line 21:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[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 11:50, 7 December 2012

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