Int()


Convert a numeric value to an integer.

Syntax

Int(<nExp>) --> nInteger

Arguments

<nExp> --> is a numeric expression to convert to an integer.

Returns

Int() returns an integer numeric value.

Description

Int() is a numeric function that converts a numeric value to an integer by truncating--not rounding--all digits to the right of the decimal point. Int() is useful in operations where the decimal portion of a number is not needed.

Examples

Int(1000.00)

* Result = 1000

Int(2.5)

* Result = 2

____________________________

Related Topics:

Business Function List

Ceil()

Round()



CAPITAL VISUAL BUILDER