H->HMS conversion HP-15C vs. HP42S vs HP67
|
09-10-2018, 07:31 AM
(This post was last modified: 09-10-2018 08:32 AM by Pekis.)
Post: #41
|
|||
|
|||
RE: H->HMS conversion HP-15C vs. HP42S vs HP67
Hello,
Please note the proposed patch in my DEG->DMS formula to fix the "60 seconds" bug by naturally rounding to internal precision: INT(X*60) is transformed into INT(X*120/2) INT(X) is transformed into INT(X*2/2) (patched): DEG->DMS: (90*X+INT(X*120/2)+100*INT(X*2/2))/250 (unchanged): DMS->DEG: (250*X-INT(100*X)-60*INT(X))/90 What do you think of it ? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)