# ROUNDUP Function (DAX)

**SQL Server 2008 R2**

Rounds a number up, away from 0 (zero).

ROUNDUP behaves like ROUND, except that it always rounds a number up.

If num_digits is greater than 0 (zero), then the number is rounded up to the specified number of decimal places.

If num_digits is 0, then number is rounded up to the nearest integer.

If num_digits is less than 0, then number is rounded up to the left of the decimal point.

### Related Functions

ROUNDUP behaves like ROUND, except that it always rounds a number up.

### Description

The following formula rounds the value in the column, FreightCost, with the expected results shown in the following table:

### Code

=ROUNDUP([Values],-1)

### Comments

When num_digits is less than zero, the number of places to the left of the decimal sign is increased by the value you specify.

FreightCost | Expected Result |
---|---|

13.25 | 20 |

2.45 | 10 |

25.56 | 30 |

1.34 | 10 |

345.01 | 350 |