Int: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
An | An '''int'''eger is any whole number (i.e. without a decimal point). It can be positive, zero, or negative. | ||
A number with a decimal point and following numbers is referred to as a [[float]] number. | |||
Lua allows you to use these interchangeably and will convert between the two as needed. | |||
[[Category:Scripting Concepts]] | [[Category:Scripting Concepts]] |
Revision as of 00:54, 6 September 2009
An integer is any whole number (i.e. without a decimal point). It can be positive, zero, or negative.
A number with a decimal point and following numbers is referred to as a float number.
Lua allows you to use these interchangeably and will convert between the two as needed.