Download Print this page

Commodore 64 User Manual page 56

Hide thumbs Also See for COMMODORE 64:

Advertisement

PERIOD AND COMMA KEYS
In normal letter writing, the two most com
mon punctuation marks are the comma (,) and
the period (.). They are found on your key
board in UNSHIFTED mode, paired with the
ESS THAN {<) and GREATER THAN [>) signs.
Whenever you include a comma or period in a
string [in other words, within quotation
marks], each has the same meaning as in a
regular sentence.
>/. KEY
When used in numbers, the period indicates
that all numbers to the right of the period are
decimals. For instance, type the following com
mand which uses the pe
d key:
75.5 + 3.2
Your addition problem appears on the screen.
SCREEN 1
Now press the RETURN key. The computer
interprets the period as a decimal point and
prints the number 8.7 as the answer.
SCREEN 2
</. KEY
If you put a comma in a number to make the
thousands and millions place values, your com
puter won't know how to read it. Do not use
commas inside numbers. For instance, you
should type:
79123456.789
NOT
?9,123,456.789
Do not clear the screen and do not turn off
the computer before going on to the next
exercise.
1
w
SCREEN 1
Use the period (.) as a decimal point when
you type mathematical equations.
o
SCREEN 2
When your computer displays the answer. It
uses the period as a decimal point, also.
W, W, #£• .«£■ W (g
GREATER THAN/PERIOD key •
LESS THAN/COMMA key
54

Advertisement

loading

Related Products for Commodore COMMODORE 64

This manual is also suitable for:

Vic 20