Decimal Fraction Specification - Commodore CBM Printer 4022 User Manual

Hide thumbs Also See for CBM Printer 4022:
Table of Contents

Advertisement

DECIMAL FRACTION
SPECIFICATION
When
the
right
hand
side
of
the
decimal
point
in
aformat statement has
more
digits
of precision
specified
than contained
in
the
formatted
data,
the remaining
digit
positions are
filled
with
zeroes.
If
the
converse
is
true,
then the formatted
number
is
truncated.
s.ee
-
1
.
25eee
3
ie.ee
-
2.5eeee
6
i5.ee
-
3.75eee
9
2e.ee
-
5.eeeee
12
25.ee
-
6.25eee
15
3e.ee
-
7.5eeee
18
35.ee
-
8.75eee
21
4e.ee
-
le.eeeee
24
45.ee
-
ii.25eee
27
se.
ee
- i2.5eeee
3e
le
OPENl/4
2e 0PEN2.4.
1
3e 0PEN3.4.2
4e 0PEN4,4.4
Se PRINT#4
REM ENABLE ERROR DinCNOSTICS
ee F$-"999.99
S999.
99999
999-"
7e PRINT#3*Ft
ee FORi>iToie
9e PRINT#2>-ie«I/2.-5»I/'4.3«I
lee NEXT
lie CMDl
12e PRINT: PRINT: PRINT: PRINT
13e
LIST
REnov.
A-6

Advertisement

Table of Contents
loading

Table of Contents