008E
Jump to navigation
Jump to search
Description
- Converts the floating-point value of the global variable to an equivalent integer value and stores the result into the local variable.
Syntax
- 008E: [local var] = float_to_integer [global var]
Parameter
- [local var]
- Local variable
- [global var]
- Global variable
This opcode truncates a floating-point value of the global variable and stores its integral part into the local variable. For example, converting a value of 4.1 or 4.9 both produces 4 as a result.
Keywords
convert, global, local, variable, int, float, math