Commodore CBM Printer 4022 User Manual page 29

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

Advertisement

$
If
one
$
is
specified,
then the
field
is
treated
as a
dollar
amount
with
a
fixed dollar sign
position:
$123
$1234.00
And
so
on.
If
all
digit
positions to the
left
of a
decimal
point are
$,
then the
number
is
printed as a
floating dollar
sign
right justified
before the
most
significant
digit.
S
When
preceding
a
numeric
field,
the sign
of
the
number
(+
or
-)
is
to
be
printed
in
this
fixed
column
position.
.
_
Defines the
position of
the
decimal
point
and
is
printed
literally in
this
position.
Specifies a
trailing
sign.
If
the
number
is +,
a blank
is
printed.
A
numeric
field
cannot have
both
S and
-.
When
this
is
the
case,
only the
S
will
be honored.
Here
are
some
examples
of
format
fields:
a)
Field
width
and
decimal
position specified
99
Two-digit
integer with
no
sign
99.999
Five-digit
real
type with 3
positions to
right
of
decimal
b)
Dollar sign insertion
$99.99 Fixed
dollar
sign
$$$.99
Floating
dollar
sign
c)
Leading
zeros forced
ZZZZ No
decimal
ZZ.99
Decimal
d)
Trailing
minus
999-
Blank
is
printed,
if
number
is
positive
e)
Signed
numbers
S99
+ or
-
always
printed
24

Advertisement

Table of Contents
loading

Table of Contents