C / C++ / C#

  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[/link].
Examples: I stored the batting averages in a float variable.

Explore C / C++ / C#

By Category

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

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

C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. F
  6. Float - Definition

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

All rights reserved.