Which function returns the largest integer value in SQL?

FLOOR() Function :

The FLOOR() function returns the largest integer value which is less than or equal to a number.

Syntax :

FLOOR(number)

Parameter : Required. A numeric value.

number : It is a numeric value.

Returns : It returns the integer value.

Example:

When the argument holds a positive number.

SELECT FLOOR(21.53);

Output :

21