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


 
4–16 Real–Number Functions
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Parts of Numbers
These functions are primarily used in programming.
Integer part
To remove the fractional part of x and replace it with zeros, press
º
>
. (For
example, the integer part of 14.2300 is 14.0000.)
Fractional part
To remove the integer part of x and replace it with zeros, press
º
[
. (For
example, the fractional part of 14.2300 is 0.2300)
Absolute value
To replace x with its absolute value, press
¹
^
.
Sign value
To indicate the sign of x, press
º
a
. If the x value is negative, –1.0000 is
displayed; if zero, 0.0000 is displayed; if positive, 1.0000 is displayed.
Greatest integer
To obtain the greatest integer equal to or less than given number, press
º
g
.
Example:
To calculate: Press: Display:
The integer part of 2.47 2.47
º
>

The fractional part of 2.47 2.47
º
[

The absolute value of –7 7
z
¹
^

The sign value of 9 9
º
a

The greatest integer equal to or less
than –5.3
5.3
z
º
g

The RND function (
¹
f
) rounds x internally to the number of digits
specified by the display format. (The internal number is represented by 12 digits.)
Refer to chapter 5 for the behavior of RND in Fraction–display mode.