> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# RoundUp

> Use the Sigma RoundUp function to round a number up to the specified number of digits.

The **RoundUp** function rounds a number up to the specified number of digits. When digits is not specified, the number is rounded to the nearest whole number by default.

## Usage

`RoundUp(number, [digits])`

Function arguments:

* **number** (required) The number to be rounded.
* **digits** (optional) The number of decimal places to which to round. If not provided, defaults to 0.

If the digits value is negative, the function will return an integer with that many least-significant digits zeroed (see the example using `RoundUp([Cost], -2)` below).

## Example

`RoundUp(3.141, 2)`

* Returns 3.15

`RoundUp(-3.141, 2)`

* Returns -3.14.

`RoundUp([Cost], 2)`

* Rounds the value for each row in the input column up. Numbers are rounded by 2 digits.

  ![Screenshot of results rounded to two decimal places](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/121d334dcb237ada60037141f4c4ecaa094adcbb5239dfd1e19fa0d2e21eefa1/assets/docs-images/ab56919-a.png)

`RoundUp([Cost], -2)`

* Rounds the input number up and replaces its last 2 digits with 0s. A negative digits value returns an integer with that many least-significant digits zeroed.

  ![Screenshot of results rounded to whole numbers](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/24ea280d79eb41af517571565caf53fe70701f0bbb36e4a234ead5cb8b34c711/assets/docs-images/cfd80ed-b.png)

## Related resources

* [Ceiling](/docs/ceiling)
* [Round](/docs/round)
* [RoundDown](/docs/rounddown)
* [MRound](/docs/mround)
* [Floor](/docs/floor)