Real

From HIVE
Revision as of 06:16, 21 November 2010 by DevliN (talk | contribs) (1 revision: StarEdit.net Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<Real> is a Data Type in the Starcraft II Galaxy Editor's Trigger editor, which stores a numerical data with decimal precision. What this means is, as opposed to an <Integer> which can be any number such as 1, 2, 3, -10, 150. A <Real> can be any number like 0.05, -0.1, 250.13 etc...

Functions

Additional Notes

A variable can only be assigned a value that is the same type of the variable. For instance, despite being semi related, you cannot assign an <Integer> to a <Real>, or vice versa. However, numerous conversion functions exist to switch between different variable types.