Difference between revisions of "0093"
Jump to navigation
Jump to search
(Created page with "{{Icon|trilogy}} '''CSET_LVAR_FLOAT_TO_LVAR_INT''' <hr /> '''Description''' : Converts the integer value of the local variable to an equivalent floating-point value and stores...") |
(No difference)
|
Latest revision as of 17:09, 1 August 2015
Description
- Converts the integer value of the local variable to an equivalent floating-point value and stores the result into the local variable.
Syntax
- 0093: [local var 1] = integer_to_float [local var 2]
Parameter
- [local var 1]
- Local variable
- [local var 2]
- Local variable
This opcode adds a fractal part to an integer value of the local variable and stores the result into the local variable. For example, a value of 4 is converted into 4.0 as a result.
Keywords
convert, local, variable, int, float, math