Account
Categories

MySQL ROUND()


ROUND()
It converts the number (argument) into the nearest rounded number as the output.

Syntax:

ROUND(number, decimal_places))

Example:

SELECT ROUND(4.678, 2) AS Result;


    

Output:

 
4.68