Syntax |
| ||
---|---|---|---|
Semantics | convertToInteger() rounds the float value aFloat to the next integer value. | ||
if (value >= 0) | return integer part of (value + 0.5) | ||
else | return integer part of (value - 0.5) | ||
Substitutables | aFloat | Can be any variable or object attribute having the type Float. | |
Examples |
|