Difference between revisions of "008E"
Jump to navigation
Jump to search
m (categorized to math opcodes) |
(updating page) |
||
| Line 1: | Line 1: | ||
| − | < | + | {{Icon|trilogy}} |
| − | '''Description''': Converts a | + | <hr /> |
| − | ''' | + | '''Description''' |
| − | '''Parameter | + | : Converts a global variable floating-point value to an integer and stores it to a local variable |
| − | '' | + | '''Syntax''' |
| + | : 008E: [''local var int''] = float_to_integer [''global var flt''] | ||
| + | : 008E: [''local var int''] = float [''global var flt''] to_integer | ||
| + | '''Parameter''' | ||
| + | : [''local var int''] | ||
| + | :: Local variable to store the converted integer value | ||
| + | : [''global var flt''] | ||
| + | :: Global variable to pass a floating-point value | ||
| − | + | == Keywords == | |
| + | math, conversion, float, integer | ||
| − | == | + | == See also == |
| − | + | * [[008C]] – converts global var flt to global var int | |
| + | * [[0090]] – converts local var flt to global var int | ||
| + | * [[0092]] – converts local var flt to local var int | ||
| − | [[Category:OpCodes]] [[Category:Math_OpCodes]] | + | [[Category:OpCodes]][[Category:Math_OpCodes]] |
Revision as of 22:45, 19 August 2011
Description
- Converts a global variable floating-point value to an integer and stores it to a local variable
Syntax
- 008E: [local var int] = float_to_integer [global var flt]
- 008E: [local var int] = float [global var flt] to_integer
Parameter
- [local var int]
- Local variable to store the converted integer value
- [global var flt]
- Global variable to pass a floating-point value
Keywords
math, conversion, float, integer