Float: Difference between revisions
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.) |
Kestrelguy (talk | contribs) m (updated language bar.) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Float}} | ||
| | 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 | |||
==See | ==See Also== | ||
*[[Integer]] | *[[Integer]] |
Revision as of 14:50, 30 April 2022
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).