Float: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{otherlang2
|de=Float:de
}}
A <code>float</code> (in full, "floating point value") is a number that contains a decimal place. This is as opposed to an [[integer]], which stores only whole numbers.
A <code>float</code> (in full, "floating point value") is a number that contains a decimal place. This is as opposed to an [[integer]], which stores only whole numbers.


Line 9: Line 12:
[[Category:variables]]
[[Category:variables]]
[[Category:Glossary]]
[[Category:Glossary]]
[[Category:English]]

Revision as of 08:44, 14 May 2011

Template:Otherlang2 A float (in full, "floating point value") is a number that contains a decimal place. This is as opposed to an integer, which stores only whole numbers.

A float requires significantly more memory to store but offers a far higher degree of precision.

See also