Post Reply 
HP-42S - How do I round a number?
03-22-2021, 03:39 PM (This post was last modified: 03-22-2021 03:39 PM by Werner.)
Post: #14
RE: HP-42S - How do I round a number?
Yes, that's where I got it from (well from TJ Dekker) but I thought the shortcut was ok. I should have known better, again :-)
so, only 1 instruction more, and this time correct for 0.9999... :-)

Code:
 1E8
 RCLx ST Y
 RCL+ ST Y
 STO- ST Y
 +

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP-42S - How do I round a number? - DM48 - 03-21-2021, 08:15 PM
RE: HP-42S - How do I round a number? - Werner - 03-22-2021 03:39 PM



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