What is the difference between float and double?

Printable View

- 01-31-2011, 02:34 AMNosrettapWhat is the difference between float and double?
What is the difference between float and double?

- 01-31-2011, 02:40 AMVase
Same as the difference between an int and a long; longs and doubles have higher precision than ints and floats.

int = 32 bits

long = 64 bits

float = 32 bits

double = 64 bits - 01-31-2011, 02:40 AMJunky
Google didn't help?

- 01-31-2011, 02:45 AMdoWhile
- 09-23-2014, 09:02 AMbrianmaneeRe: What is the difference between float and double?
The Decimal, Double, and Float variable types are different in the way that they store the values. Precision is the main difference where float is a single precision (32 bit) floating point data type, double is a double precision (64 bit) floating point data type and decimal is a 128-bit floating point data type. More about...difference between float and double

Brian - 09-23-2014, 10:17 AMTollsRe: What is the difference between float and double?
- 09-23-2014, 12:20 PMDarrylBurkeRe: What is the difference between float and double?