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

Definition of Double

By , About.com Guide

Definition: A double is a larger float type that holds both bigger and more precise numbers.

Double variables are 8 bytes in size. The range of values is from 2.2250738585072020×10−308 to 1.7976931348623157×10308

More importantly, the precision of a double is 15 compared to 6 for a float. The precision of a number is how many digits (before and after the decimal point) it can store without errors occurring.

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
Examples:
Because I needed 12 digit values, I used a double
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

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

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

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

All rights reserved.