008E

From GTAMods Wiki
Revision as of 22:45, 19 August 2011 by Spaceeinstein (talk | contribs) (updating page)
Jump to navigation Jump to search

GTA III Vice City San Andreas


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

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