- This wiki is out of date, use the continuation of this wiki instead
Float
From FenixWiki
(Difference between revisions)
Revision as of 03:07, 13 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (13:07, 17 July 2007) (edit) (undo) Sandman (Talk | contribs) |
||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
- | ''' | + | '''FLOAT''' |
'''Float'''s are floating point numbers ranging from about -10^38.53 to about 10^38.53. This is achieved by dividing 32 bits (4 bytes) in a certain way, with a certain precision. A float is used for operations in which both very large and small numbers are used, while rounding is not permitted. Unlike [[int]]s or [[short]]s, a '''float''' actually has decimal digits. Their accuracy is about 7 decimal digits. | '''Float'''s are floating point numbers ranging from about -10^38.53 to about 10^38.53. This is achieved by dividing 32 bits (4 bytes) in a certain way, with a certain precision. A float is used for operations in which both very large and small numbers are used, while rounding is not permitted. Unlike [[int]]s or [[short]]s, a '''float''' actually has decimal digits. Their accuracy is about 7 decimal digits. |
Current revision
[edit] Definition
FLOAT
Floats are floating point numbers ranging from about -10^38.53 to about 10^38.53. This is achieved by dividing 32 bits (4 bytes) in a certain way, with a certain precision. A float is used for operations in which both very large and small numbers are used, while rounding is not permitted. Unlike ints or shorts, a float actually has decimal digits. Their accuracy is about 7 decimal digits.