Skip to main content
Skip table of contents

convertToInteger() Operation for Float Values

Syntax
NONE
set anInteger = aFloat.convertToInteger()
SemanticsconvertToInteger() returns the integer part of the float value aFloat.
SubstitutablesanIntegerThe result of the operation of type Integer.
aFloatCan be any variable or object attribute having the type Float.
Examples
NONE
set anInteger = aFloat.convertToInteger();

If aFloat was 3.141, aFloat.convertToInteger() would return 3.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.