Difference between revisions of "0425"
Jump to navigation
Jump to search
(Created page with '{{Icon|trilogy}} <hr /> <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| '''Description''' : Converts meters to feet '''Syntax''' : 0425: meters [''var''] to_feet [''f…') |
m |
||
Line 3: | Line 3: | ||
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | ||
'''Description''' | '''Description''' | ||
− | : Converts meters to feet | + | : Converts floating-point meters to feet |
'''Syntax''' | '''Syntax''' | ||
: 0425: meters [''var''] to_feet [''flt''] | : 0425: meters [''var''] to_feet [''flt''] | ||
'''Parameter''' | '''Parameter''' | ||
: [''var''] | : [''var''] | ||
− | :: Variable to store the converted value | + | :: Variable to store the converted value as floating-point |
: [''flt''] | : [''flt''] | ||
:: Floating-point value | :: Floating-point value |
Revision as of 21:38, 5 January 2012
Description
- Converts floating-point meters to feet
Syntax
- 0425: meters [var] to_feet [flt]
Parameter
- [var]
- Variable to store the converted value as floating-point
- [flt]
- Floating-point value
Native analog
This opcode "converts" floating-point values from meters to feet. By "convert", this means dividing the value by 0.3. The more precise conversion would be to divide by 0.3048. This opcode was unused in GTA III in the default script.
Keywords
change, convert, float, metres, metre, meter, foot, feet, metric, imperial
See also
- 042D, converts integer values from meters to feet