1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Floor - MySQL Command

By

Definition: Floor is used to round a number down to the last whole number. Any number with even the highest decimal is rounded down. This is the opposite of Ceiling which rounds everything up.
Also Known As: Round number down
Examples:

SELECT FLOOR(-3.14);
This would round down to -4

SELECT FLOOR(3.14);
This would round down to 3
Top Related Searches
  • whole number
    1. About.com
    2. Technology
    3. PHP / MySQL
    4. MySQL Commands
    5. Floor - MySQL Command Definition and Example

    ©2014 About.com. All rights reserved.