You are here:About>Computing & Technology>C / C++ / C#> Glossary> F> Float - Definition
About.comC / C++ / C#
Elsewhere on the Web

IEEE Floating point standard

"Definition of Float"

From David Bolton,
Your Guide to C / C++ / C#.
FREE Newsletter. Sign Up Now!
Definition: Float is short for floating point and is a fundamental (i.e. built into the compiler) type used to define numbers with fractional parts.

The float type can represent values ranging from approximately 1.5 × 10−45 to 3.4 × 1038 with a precision of 7 digits.

There is also a double.

Numbers without fractional parts can be stored in ints.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Ints[/link].
Examples: I stored the batting averages in a float variable.
Elsewhere on the Web

IEEE Floating point standard

 All Topics | Email Article | Print this Page | |
Advertising Info | News & Events | Work at About | SiteMap | Reprints | HelpOur Story | Be a Guide
User Agreement | Ethics Policy | Patent Info. | Privacy Policy©2008 About, Inc., A part of The New York Times Company. All rights reserved.