MySQL ROUND() Function

MySQL ROUND() Function

Example

Round the number to 2 decimal places:
SELECT ROUND(135.3752);
Try it Yourself »

Definition and Usage

The ROUND() function rounds a number to a specified number of decimal places.
Note: See also the FLOOR()CEIL()CEILING(), and TRUNCATE() functions.

Syntax

ROUND(numberdecimals)

Comments

Popular posts from this blog

Lab Network 2024

Step to publish your static html web page to GitHub

Tutorial OOP(reversion java)