Real

From HIVE
Jump to: navigation, 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.