Difference between revisions of "0091"
Jump to navigation
Jump to search
(Created page with "{{Icon|trilogy}} '''CSET_VAR_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 global variable.
Syntax
- 0091: [global var] = integer_to_float [local var]
Parameter
- [global var]
- Global variable
- [local var]
- Local variable
This opcode adds a fractal part to an integer value of the local variable and stores the result into the global variable. For example, a value of 4 is converted into 4.0 as a result.
Keywords
convert, global, local, variable, int, float, math