Page tree
Skip to end of metadata
Go to start of metadata
Syntax
set anInteger = aFloat.convertToInteger()
SemanticsconvertToInteger() rounds the float value aFloat to the next integer value.
if (value >= 0)return integer part of (value + 0.5)
elsereturn integer part of (value - 0.5)
SubstitutablesaFloatCan be any variable or object attribute having the type Float.
Examples
set anInteger = aFloat.convertToInteger();
  • No labels