Excel VBA INT Function

Facebooktwitterredditpinterestlinkedinmailby feather

VBA INT Function: The INT function in VBA rounds the given supplied number down and returns an integer value. The positive numbers are rounded to zero, and the negative numbers are rounded away from zero.

Syntax

Parameter

Number (required) –This parameter represents the number that you want the integer value of.

Return

This function returns the rounded off integer value for the supplied number.

Example 1

Output

12

VBA INT Function

Example 2

Output

-13

VBA INT Function

Example 3

Output

VBA INT Function
Facebooktwitterredditpinterestlinkedinmailby feather