tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment

Other Sites

CheckYourMath BigActivities DigMinecraft
Share this page:

Oracle/PLSQL: FLOOR Function

Learn how to use the Oracle/PLSQL FLOOR function with syntax and examples.

Description

The Oracle/PLSQL FLOOR function returns the largest integer value that is equal to or less than a number.

Syntax

The syntax for the Oracle/PLSQL FLOOR function is:

FLOOR( number )

Parameters or Arguments

number is the value used to determine the largest integer value that is equal to or less than a number.

Applies To

The FLOOR function can be used in the following versions of Oracle/PLSQL:

  • Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i

Example

Let's look at some Oracle FLOOR function examples and explore how to use the FLOOR function in Oracle/PLSQL.

For example:

FLOOR(5.9) would return 5
FLOOR(34.29) would return 34
FLOOR(-5.9) would return -6