ROUND, Rounding Numbers Nearby

Syntax : ROUND(decimal,digit)

 In MySQL, the Round function is used to round a number to the nearest value

Example:


SELECT ROUND(12.84,1);
SELECT ROUND(12.844556,3);

No comments:

Post a Comment