# INTDAX Function (Math and Trig)

Rounds a number down to the nearest integer.

## Syntax

INT ( <Number> )
Parameter Attributes Description
Number

The number you want to round down to an integer.

## Return values

Scalar A single integer value.

An integer value

## Remarks

INT performs a type conversion to integer and always returns an integer, whereas other rounding functions (such as TRUNC) returns a decimal.

INT rounds <Number> towards −∞ to the nearest integer. If <Number> is already an integer, no rounding occurs. This operation is the same as taking the integer part of <Number>, but only when <Number> is non-negative.

## Examples

The following examples clarify the behavior of INT with negative and positive numbers.

```INT ( - 2.9 ) = -3
INT ( - 2.1 ) = -3
INT ( - 0.9 ) = -1
INT ( - 0.1 ) = -1
INT ( 0.1 ) = 0
INT ( 0.9 ) = 0
INT ( 2.1 ) = 2
INT ( 2.9 ) = 2
```

## Related articles

• Choosing Numeric Data Types in DAX

A data model for DAX has three numeric data types: integer, floating point, and fixed decimal number. This article describes them and explains why the fixed decimal number should be used instead of the floating point in most scenarios. » Read more

## Related functions

Other related functions are:

Last update: Dec 7, 2019     » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation: https://docs.microsoft.com/en-us/dax/int-function-dax

DAX Conventions
• Use [measure] and never use table[measure]
• Use table[column] and never use [column]
• Space before ‘(‘ and ‘)’ and any operand and operator
• Space before an in-line argument
• Definitions in the first row, including the assignment
• Use ‘=’ to define calculated columns / tables
• Use ‘:=’ to define measures
Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

### Contribute

Want to improve the content of INT? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.