MySQL ROUND() Function
MySQL ROUND() Function
Example
Round the number to 2 decimal places:
SELECT ROUND(135.375, 2);
Definition and Usage
The ROUND() function rounds a number to a specified number of decimal places.
Syntax
ROUND(number, decimals)
Comments
Post a Comment