HP (Hewlett-Packard) HP 33s Calculator User Manual


 
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.