# ROUND

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function rounds the specified value to the nearest number, using the specified number of decimal places.

## Syntax

ROUND(*value*,*places*)

## Arguments

Use the *value* argument to specify the number to round. Use the *places* argument to specify the number of decimal places. The *places* argument has these rules:

* Set *places* to a value greater than zero to round to the specified number of decimal places.
* Set *places* to zero to round to the nearest whole number.
* Set *places* to a value less than zero to round the value left of the decimal to the nearest ten, hundred, etc.

## Remarks

The result may be rounded up or rounded down.

## Data Types

Accepts numeric data for both arguments. Returns numeric data.

## Examples

`ROUND(A3,–2)`
`ROUND(C4,B2)`
`ROUND(R1C2,2)`
`ROUND(PI(),5)` gives the result 3.14159
`ROUND(29.2,-2)` gives the result 0because 29.2 is closer to 0 than to 100.
`ROUND(-1.963,0)` gives the result -2

## Version Available

This function is available in product version 1.0 or later.

## See Also

[ROUNDDOWN](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsRtoS/FunctionROUNDDOWN) \| [ROUNDUP](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsRtoS/FunctionROUNDUP) \| [CEILING](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionCEILING) \| [FLOOR](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsDtoG/FunctionFLOOR) \| [MROUND](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsMtoQ/FunctionMROUND) \| [Math and Trigonometry Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsmathtrig)