What is the Floor math function code in VBA

What is the Floor math function code in VBA

Anonymous
Not applicable
2,066 Views
3 Replies
Message 1 of 4

What is the Floor math function code in VBA

Anonymous
Not applicable

I can use The Floor Math function in iLogic but what is the Code for VBA?

thanks in Advance.

Accepted solutions (1)
2,067 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Round(yourNumber, numOfDecimals)
0 Likes
Message 3 of 4

pball
Mentor
Mentor
Accepted solution

Int() is the VBA equivalent of floor, round() will round the number up down depending on value.

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
Message 4 of 4

Anonymous
Not applicable

Thanks Int() is what I needed.

0 Likes