Real: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[category:variables]] | |||
A Real is a number variable that can store Whole and Decimal numbers. | A Real is a number variable that can store Whole and Decimal numbers. | ||
The downside to using reals is that real variables use more space than integer variables do. Real variables should be used for values that need to be as precise as possible. Examples include Health, Points, Distance, and other such values that must be measured in precision. | The downside to using reals is that real variables use more space than integer variables do. Real variables should be used for values that need to be as precise as possible. Examples include Health, Points, Distance, and other such values that must be measured in precision. |
Revision as of 16:14, 14 July 2005
A Real is a number variable that can store Whole and Decimal numbers.
The downside to using reals is that real variables use more space than integer variables do. Real variables should be used for values that need to be as precise as possible. Examples include Health, Points, Distance, and other such values that must be measured in precision.