Post Reply 
Programming the INT and FRAC functions
01-04-2016, 12:07 AM
Post: #6
RE: Programming the INT and FRAC functions
(01-03-2016 07:23 PM)Dieter Wrote:  All solutions for the SR-52 I've seen so far seem to use TI's display rounding procedure EE INV EE, so they will work only for some TI models. I still wonder if there is a short and effective way of implementing an INT or FRAC function on other calculators...?

On the HP-55, for INT you can do :
Code:
g H.MS g H.MS EEX 9 + f LastX -
And for FRAC :
Code:
ENTER g H.MS g H.MS EEX 9 + f LastX - -
This works for positive numbers but not for negative ones and I'm not sure it fits your definition of "short and effective"...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming the INT and FRAC functions - Didier Lachieze - 01-04-2016 12:07 AM



User(s) browsing this thread: 1 Guest(s)