The Museum of HP Calculators

HP Forum Archive 05

[ Return to Index | Top of Index ]

Help with the HP28S functions
Message #1 Posted by Edwin_E on 7 Mar 2001, 3:34 a.m.

Hi there , would anyone be able to tell me if the 28S ever included a function you could use to round off decimal numbers after a certain digit?? OR should i try and program it myself. I'm not really hoping for the 2nd since i lost that one manual that contains most of the info regarding the functions. Any help is welcome

      
Re: Help with the HP28S functions
Message #2 Posted by Edwin_E on 7 Mar 2001, 9:30 a.m.,
in response to message #1 by Edwin_E

DOH!! why did i ever forget such a simple thing. Our local HP guru at work just told me how to do the round off thingy.

In case you wish to round off a decimal number all you need to key in is " 2 FIX " and press enter. 2 stands for the amount of digits you wish to keep behind the ,

Have fun

      
Re: Help with the HP28S functions
Message #3 Posted by Ernie Malaga on 7 Mar 2001, 11:47 p.m.,
in response to message #1 by Edwin_E

Edwin:

2 FIX rounds to 2 decimal places, yes, but only on the display. Internally, the calculator keeps its entire precision. If you need to round the actual number (not just the display), use RND.

From my 28C manual:

"RND rounds its argument so that the full-precision internal representation of the number is rounded to match the displayed representation, according to the current display mode."

In other words, if you want to round to 2 decimal places, you must use 2 FIX _and_ RND. The former rounds on the display; the latter rounds the internal number to match.

RND accepts only one argument (Level 1): The number to be rounded.

Hope this helps.

-EM

            
Thanks for the info
Message #4 Posted by Edwin_E on 8 Mar 2001, 11:10 a.m.,
in response to message #3 by Ernie Malaga

Ernie , thanks a lot for the help. I should have a been a bit more careful with the manual ( i lost it ).

                  
Re: Thanks for the info
Message #5 Posted by Ernie Malaga on 8 Mar 2001, 11:58 p.m.,
in response to message #4 by Edwin_E

Edwin:

You're welcome; glad to help. By the way, the MoHPC makes CDs with all sorts of documents inside. CD #1 contains the owner's manual for many HP calculators, including the HP-28S. Each manual is a separate PDF document, so you can read it (in black and white) using Adobe Acrobat Reader, which (if you don't already have) can be downloaded free from the Web.

Just a thought. I got my CDs day before yesterday and have already spent more than the 48 intervening hours reading the manuals. A page turner, let me tell you!

-Ernie


[ Return to Index | Top of Index ]

Go back to the main exhibit hall