Function to Remove the Decimal Places

math, math-functions, vba

Solution

Of what i remember use the Int() function. ex

int(2.99) = 2 ; int(2.1)=2

and so on.

Problem

What is the JavaScript `Math.Floor()` equivalent in VBA?. this function should remove all the decimal places and return only an integer.

Original source