Fractions
5–9
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Fractions in Programs
When you're typing a program, you can type a number as a fraction — but it's
converted to its decimal value. All numeric values in a program are shown as
decimal values — Fraction–display mode is ignored.
When you're running a program, displayed values are shown using
Fraction–display mode if it's active. If you're prompted for values by INPUT
instructions, you may enter fractions, regardless of the display mode.
A program can control the fraction display using the
/c
function and by setting
and clearing flags 7, 8, and 9. Setting flag 7 turns on Fraction–display mode —
¹
É
isn't programmable. See "Flags" in chapter 13.
See chapters 12 and 13 for information about working with programs.
Summary of Contents for 33S
Page 14: ......
Page 15: ...Part 1 Basic Operation ...
Page 16: ......
Page 56: ......
Page 64: ......
Page 82: ......
Page 92: ......
Page 122: ......
Page 138: ......
Page 157: ...Part 2 Programming ...
Page 158: ......
Page 184: ......
Page 210: ......
Page 222: ......
Page 293: ...Part 3 Appendixes and Reference ...
Page 294: ......
Page 324: ......
Page 348: ......