Skip Headers
Oracle® OLAP DML Reference
11g Release 2 (11.2)

E17122-08
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

FLOOR

The FLOOR function returns the largest whole number equal to or less than a specified number.

Return Value

NUMBER

Syntax

FLOOR(n)

Parameters

n

A number.

Examples

Example 7-99 Displaying the Largest Integer Equal to or Less Than a Number

The following statements show results returned by the FLOOR function.

  • The following SHOW FLOOR statement produces the result that follows it.

    SHOW FLOOR(15.7)
    
    15
    
  • The following SHOW FLOOR statement produces the result that follows it.

    SHOW FLOOR(4)
    
    4
    
  • The following SHOW FLOOR statement produces the result that follows it.

    SHOW FLOOR(-6.457)
    
    -7