BASIC
For example:
10.001 -200034
1.774E6 6.024E-23
123.4567
can
all be
stored
as
single-precision values.
Note:
When
used
in
a
decimal
number, the
symbol E stands for ' 'single-precision
times 1 to
the power of. .
.
"
Therefore
6 . 024E-23 represents the single-precision
value:
6.024xl0
23
Double-Precision
Type
(Maximum
Precision, Slowest in
Computations)
Double-precision
numbers
can
include
up to 1 7 significant digits,
and can represent
values in the
same range
as
that
for single-precision
numbers. A double-precision
value requires
8 bytes of memory
for storage. Arithmetic
operations involving
at
least one
double-precision
number are slower than the
same operations when
all
operands
are single-precision
or integer.
For
example:
1010234578
-8.7777651010
3.1415926535897932
8.00100708D12
can all be stored
as double-precision
values.
Note: When
used in a decimal number,
the symbol
D
stands
for
'
'double-precision
times 10 to
the power of.
.
.
" Therefore 8.00100708
Dl 2 represents the value
8.00100708
xlO
12
103