TUTORIAL INDEX

MySQL FLOOR()

|

FLOOR()
It converts the number (argument) into the nearest whole number that is less than or equal to the given number.

Syntax:

FLOOR(number)

Example:

SELECT FLOOR(4.8) AS Result;


Output:

 
 4

ONLINE WEB TOOLS

WhatIsMyIpAddress
Shorterner