0092
Jump to navigation
Jump to search
Description
- Converts the floating-point value of the local variable to an equivalent integer value and stores the result into the local variable.
Syntax
- 0092: [local var 1] = float_to_integer [local var 2]
Parameter
- [local var 1]
- Local variable
- [local var 2]
- Local variable
This opcode truncates a floating-point value of the local 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, local, variable, int, float, math