Value::GetInt

Value::GetInt
SF_INLINE SInt32 GetInt() const;
Description

GetInt returns a value of type integer previously set by SetInt

Note: Int and UInt types are never returned FROM the AS2 VM. Use GetNumber() instead. 

Creation of GFx::Values with Int and UInt types and assigning them to the AS2 VM is legal, however they will be automatically converted to Number type. The AS3 VM will have a direct mapping between the GFx::Value primitive numeric types and the VM equivalents, therefore GetInt/UInt is valid and correct for the AS3 VM.

Return Value

An SInt32 value containing the value.