Breadcrumbs

convertToInteger() Operation for Float Values


Syntax


set anInteger = aFloat.convertToInteger()


Semantics

convertToInteger() returns the integer part of the float value aFloat.

Substitutables

anInteger

The result of the operation of type Integer.

aFloat

Can be any variable or object attribute having the type Float.

Examples


set anInteger = aFloat.convertToInteger();

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


Related Pages: