# DAX Math & Trigonometric - ROUND function

## Description

Rounds a number to the specified number of digits.

## Syntax

```ROUND (<number>, <num_digits>)
```

## Parameters

Sr.No. Parameter & Description
1

number

The number you want to round.

2

num_digits

The number of digits to which you want to round.

## Return Value

A decimal number.

## Remarks

• If num_digits > 0, then the number is rounded to the specified number of decimal places.

• If num_digits = 0, the number is rounded to the nearest integer.

• If num_digits < 0, the number is rounded to the left of the decimal point.

You can also use the following DAX functions in specific instances −

• DAX ROUNDUP function to always round up (away from zero).

• DAX ROUNDDOWN function to always round down (toward zero).

• DAX MROUND function to round a number to a specific multiple.

• DAX TRUNC and INT functions to obtain the integer portion of the number.

## Example

```= ROUND (5.5555555,2) returns 5.56.
= ROUND (5.5555555,0) returns 6.
= ROUND (5.5555555, -1) returns 10.
= ROUND (5.5555555, -2) returns 0.
```
dax_functions_mathematical_trigonometric.htm

## Useful Video Courses

Video

#### Mastering DAX and Data Models in Power BI Desktop

53 Lectures 5.5 hours

Video

#### Mastering DAX Studio

Featured

24 Lectures 2 hours

Video

#### DAX / Power BI - Customer and Sales Analysis Deep Dive

26 Lectures 4.5 hours