Difference between revisions of "Float"

From Valve Developer Community
Jump to: navigation, search
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 15:44, 14 May 2011

Deutsch

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