1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Float

By David Bolton, About.com

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.
Examples:
I stored the batting averages in a float variable.
Explore C / C++ / C#
By Category
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Getting Started
  5. Float - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.