background image

 

hp calculators 

 

HP 9s Operating Modes and Display Format

 

 
It is sometimes necessary to replace a number by its truncated or rounded value. Even though there’s no specific 
function to do it on the HP 9s, it can be easily done: to truncate a number to decimal places, simply add and subtract 

n

13

10

 
Example 3: Truncate 

π

 to four decimal digits.  

 
Solution: 

Let’s select the default mode: 

~p

   

.

. Now press 

U

 or  

\

 to cancel/finish any previous 

calculation, and 

~a

 to display the number 3.141592654. To truncate it to four decimal places, press: 

 

 

+A9-A9\ 

 
 

It is important not to use the  

\

 key to display the partial result 

:  the sequence 

~a+ 

A9\-A9\

 returns 3.14 instead of 3.1415 because the 13-digit precision is only 

maintained in chain calculations.

9

10

+

π

2

 

Answer: 3.1415

 

 

 

To truncate a number to zero decimal digits, that is to say, to obtain its integer part, the following sequence is shorter: 

~Ø~Ù

 provided the number is between – 9999999999 and 9999999999. 

 
Rounding a number to decimal digits is a bit more involved, 

must be added to the number and then the 

1

10

5

n

result must be truncated using the above procedure. 
 
Example 4: Round 

π

 to four decimal digits.  

 
Solution: Press 

~a

 again and then: 

 

 

+A=5+A9-A9\ 

 

Answer: 

3.1416.  Note that this is not the same result as the one obtained by pressing 

~a~p

   

4

, even 

though they appear to be the same number. Set FIX 6 (

~p

   

6

) in both cases to tell the difference. 

 
The HP 9s provides two keys to convert the number that is currently in the display to scientific format (i.e. displayed with 
an exponent, and only one digit to the left of the decimal point) and engineering format (i.e. with an exponent that is a 
multiple of 3). This conversion affects only the displayed number  so that results can be easily interpreted as multiples or 
submultiples of a unit, for example, but keying in any new number or continuing the calculation restores the display 
setting (i.e. either fixed or floating point). The number of decimal digits in scientific and engineering format is the one 
previously set by FIX. In the following example we’ll try to show all possible cases: 
 
Example 5:  Let’s set FIX 4 (

~p

   

4

) , press 

U

and key in 123.45678: 

 

 

 

123.45678 

 
 

                                                           

2

 The following example will help you tell the difference: 1234567809 

{+

 0.001 

-[

returns 0.001, but 

[+

 0.001 

\

 

-[

returns 0. 

hp calculators 

- 4 - 

HP 9s Operating Modes and Display Format - Version 1.0 

Summary of Contents for HP 9s

Page 1: ...hp calculators HP 9s Operating Modes and Display Format The Operating Modes of the HP 9s The Angular Mode Display Format ...

Page 2: ...s active even if power is turned off in order to preserve the statistical data entered by the user up to 80 different items The data is lost however when another operating mode is selected There is a special mode in which the data can be edited the ED mode which is described in the HP 9s learning module Clearing Editing and Correcting The modules Statistics Process Capability and Statistics Averag...

Page 3: ...anged by the user But the pseudo random number returned by the RND function Ü is always displayed in FIX 3 the display format setting is not actually changed though and is still used in the current calculation this is convenient because the resulting number is always a number between 0 and 0 999 with three significant digits that is to say a result of say 0 000 is as though three random digits wer...

Page 4: ...st be truncated using the above procedure Example 4 Round π to four decimal digits Solution Press a again and then A 5 A9 A9 Answer 3 1416 Note that this is not the same result as the one obtained by pressing a p 4 even though they appear to be the same number Set FIX 6 p 6 in both cases to tell the difference The HP 9s provides two keys to convert the number that is currently in the display to sc...

Page 5: ... to express this number with an exponent that is a multiple of three including zero To change the exponent in multiples of three press the and keys as many times as needed For example pressing returns NB not and pressing now results in NB not These numbers reveal that and actually convert the displayed number as is displayed not its internal value which is not modified in any case though 00 10 456...

Reviews: