INT

Updated on

INT is a DAX function that rounds a number down to the nearest integer.

Syntax

INT( Number )
Argument Properties Description
Number The number you want to round down to an integer.

Return Values

A whole number.

Remarks

TRUNC and INT are similar in that both return integers. TRUNC removes the fractional part of the number. INT rounds numbers down to the nearest integer based on the value of the fractional part of the number. INT and TRUNC are different only when using negative numbers: TRUNC(-4.3) returns -4, but INT(-4.3) returns -5 because -5 is the lower number.

Example

The following expression rounds the value to 1. If you use the ROUND function, the result would be 2.

= INT(1.5)

Other functions related to INT are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/dax/int-function-dax

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy