Float: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
Float is an abreviation of 'Floating Point Number'. A floating point number is one with a decimal point, i.e. it can contain values such as 5.5 or 3.142. An [[int]] on the other hand can only hold whole numbers.
Float is an abreviation of 'Floating Point Number'. A floating point number is one with a decimal point, i.e. it can contain values such as 5.5 or 3.142. An [[int]] on the other hand can only hold whole numbers.
[[Category:Scripting Concepts]]

Revision as of 16:42, 8 May 2008

Float is an abreviation of 'Floating Point Number'. A floating point number is one with a decimal point, i.e. it can contain values such as 5.5 or 3.142. An int on the other hand can only hold whole numbers.