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
|