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.)
m (updated language bar.)
Line 1: Line 1:
{{otherlang2
{{lang|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]]

Revision as of 14:50, 30 April 2022

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