Stay organized with collections
Save and categorize content based on your preferences.
ROUND
Rounds a number to a certain number of decimal places according to standard rules.
Sample usage
ROUND(Height,1)
Syntax
ROUND( X , Y )
Parameters
X - a field or expression containing at least one field.
Y - a whole number specifying the number of decimal places in the result.
Examples
| Example formula |
Input |
Output |
ROUND(Height, 1) |
Height : 2.35 |
2.4 |
ROUND(Height, 2) |
Height : 2.35 |
2.35 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-29 UTC.
[null,null,["Last updated 2026-07-29 UTC."],[],[]]