Float: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (typo)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{stub}}
{{LanguageBar|Float}}
[[category:variables]][[category:Glossary]]
A <code>float</code> (in full, "floating point value") is a number that contains a non-zero decimal expansion (i.e. 3.5123). This is as opposed to an ''integer'', which stores numbers with a zero decimal expansion (i.e. 3).
A 32-bit floating point number. Usually stored according to IEEE754. They are used to store decimal numbers. Floating points are greatly used in graphics programs and games, but not so much in general applications.
 
==See also==
*[[Integer]]
*[[Real]]


[[Category:variables]]




==Wikipedia Links==
{{stub}}
* [[Wikipedia:Floating point|Floating-point numbers]]
* [[Wikipedia:IEEE floating-point standard|IEEE754 Standard]]

Latest revision as of 17:52, 18 July 2025

English (en)Deutsch (de)Español (es)Hrvatski (hr)Português do Brasil (pt-br)Русский (ru)中文 (zh)Translate (Translate)

A float (in full, "floating point value") is a number that contains a non-zero decimal expansion (i.e. 3.5123). This is as opposed to an integer, which stores numbers with a zero decimal expansion (i.e. 3).

See also


Stub

This article or section is a stub. You can help by expanding it.