You are here: Help Topics > Accounting and Assurance > Calculations, Functions and Linkages > MKINT function
-- Reference --
MKINT Function
The MKINT function rounds numeric values to an integer. String values, on the other hand, truncate to an integer by removing the portion after the whole number. All string values should be placed in quotes "" within the brackets.
Syntax
MKINT(expression)
-
Example 1
MKINT("3.99")
Returns a value of 3.
MKINT(3.99)
Returns a value of 4.
-
Example 2
MKINT("10")+MKINT("20")
Returns a value of 30.
-
Example 3
MKINT ("5.6 meters")
Returns a value of 5.