You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to enter a position of say 30 minutes W by entering -0 degrees 30 minutes you will end up with a position of 30 minutes east. It's obvious that -0 is interpreted as 0 and the minus sign is not transferred to the minutes part.
Looking at the code I think this also applies for 0 -1 degrees south.
You simply need to detect the entered minus sign on the degrees to decide if the minutes are to be negated or not if the value of the degrees is zero.
@trudK45 wrote:
If you try to enter a position of say 30 minutes W by entering -0 degrees 30 minutes you will end up with a position of 30 minutes east. It's obvious that -0 is interpreted as 0 and the minus sign is not transferred to the minutes part.
Looking at the code I think this also applies for 0 -1 degrees south.
You simply need to detect the entered minus sign on the degrees to decide if the minutes are to be negated or not if the value of the degrees is zero.
See his code details at rgleason#99
The text was updated successfully, but these errors were encountered: