Date addition: can it be done in a single HP 65 program card?
|
01-02-2020, 01:38 PM
Post: #6
|
|||
|
|||
RE: Date addition: can it be done in a single HP 65 program card?
(01-02-2020 09:09 AM)Don Shepherd Wrote: Dave, the answer to your problem can be found here: Thanks Don, I'll see if I can scrape any wisdom from that listing. The presence of the mod operator worries me a bit, since that isn't directly available on the 65. Maybe the day-number-from-date formula could be simplified a bit, but I don't think I can factor out y since that's all integer division. I don't see the same explicit tests for the month being greater than 2, but I think the same (or a similar) effect is contained in the two integer division and mod calculations just before the return. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 11 Guest(s)