Float: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed misleading/false claim that integers are only whole numbers ( >= 0 ). Removed claim that float's use much more memory as this is completely implementation dependent and often untrue.)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{otherlang2
{{LanguageBar|Float}}
|de=Float:de
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 <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).


==See also==
==See also==
*[[Integer]]
*[[Integer]]
*[[Real]]


[[Category:variables]]
[[Category:variables]]
[[Category:Glossary]]
 
[[Category:English]]
 
{{stub}}

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.