WEBcnx 2023.2 is out now bringing with it a host of new features and performance enhancements. Read more.

Open navigation

INT Function

Applies from Version:WEBcnx 2024.1Applies to Version:


Description

Rounds a number down to the nearest integer.


Syntax 

INT(number)


The INT function has the following arguments:

  • Number    Required. The number you want to round down to an integer. 

Returns

A whole number


Examples 

ExpressionDescriptionResult
INT(8.9)Rounds 8.9 down8
INT(-8.9)Rounds -8.9 down. Rounding a negative number down rounds it away from 0-9
NUM1 - INT(NUM1)Returns the decimal part of a positive number in NUM1 where NUM1 is 1.50.5



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

You may like to read -