Post Reply 
Problem with ->HMS
08-25-2014, 04:21 PM
Post: #1
Problem with ->HMS
There appears to be a problem with ->HMS in Home, if the argument is between -1 and 0, e.g.,

->HMS(-0.1) returns 0 degrees 06 minutes 0 seconds,

same as ->HMS(0.1).

Even entering -0 degrees 6 minutes on the command line returns the positive value of 0 degrees 6 minutes.

However, HMS->(-0 degrees 6 minutes 0 seconds) returns -0.1, so that is fine.

Thanks for looking into that!
Find all posts by this user
Quote this message in a reply
08-25-2014, 07:19 PM
Post: #2
RE: Problem with ->HMS
Note that is purely a display thing. Calculations are just fine.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
08-25-2014, 08:24 PM
Post: #3
RE: Problem with ->HMS
True, it is a display thing (for the most part!), but annoying nevertheless, because you don't know if your result is positive or negative without some subsequent testing.
Find all posts by this user
Quote this message in a reply
Post Reply 




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