EasyManua.ls Logo

Apple IIe - Page 49

Apple IIe
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Applesoft
BASIC
Programming
49
Scientific Notation
Applesoft
BASIC
uses
scientific notation
to
express
either
extremely
large
or
extremely
small
numbers. A
number
in
scientific
notation
takes
the
following
format:
±x
E
+
yy
Where
;
±
is
an
optional
plus
or
minus
sign.
x can
either
be
an
integer
or
floating
point
number
.
This value
is
know
as
the
coefficient
or
mantissa.
E stands
for
exponent.
yy
is
a
one
or
two
digit
exponent.
The
exponent
gives
the
number
of
places
that
the
decimal
point
must
be
moved
to
give its
true
location.
The
decimal
point
is
moved
to
the
right
with
the
positive
exponents
. The
decimal
point
is
moved
to
the
left
with
negative
exponents.
The
following
examples
specify a
number
in
both
standard
floating
point
and scientific
notation:
1000000
-.
1
E6
.000001
-.
1
E-6
57500000-.
5.75
E+07
-.
00000479-.
-4.79
E-06
Any
integers
containing
10
or
more
digits
will
be
expressed
in
scientific
notation
as
shown
in
the
following
example
.
PRINT
121212121212
1.21212121
E+11

Other manuals for Apple IIe

Related product manuals