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

Tutorial OOP(reversion java)

Submission Lab Java 2024

Lab Network 2025