Erik2000 wrote in news:(E-Mail Removed):

>

>>double:

>>digits (bits): 53

>>digits (decimal): 15

>>

>>float:

>>digits (bits): 24

>>digits (decimal): 6

>>

>>on my system.

>

>

> So does this mean that a double on your system can have up to 53 digits
No the 53 is bits, computers (well most computers) store floating

point values in binary, base 2 not base 10 (decimal).

The 15 is the number of decimal digits. i.e. how meny decimal

digits can be stored in 53 bits.

> and 15 digits behind the decimal point?
The decimal point doesn't come in to it, hence the term

*floating-point*.

for example the number 2.3e20 doesn't really have "point" it is

230000000000000000000, also the number 2.3e-20 is

0.0000000000000000023, i.e. the "point" isn't within the digits

at all.

>

> And for float, 24 digits and 6 digits behind the decimal point?
As above 6 decimal digits total or 24 bits (base 2 digits).

Rob.

--

http://www.victim-prime.dsl.pipex.com/