Post Reply 
I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
03-23-2017, 02:06 PM
Post: #1
I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
How can I change the geographic coordinates in Wingelgrad in the HP Prime and vice versa.
The whole is to be done with a program.

INPUT: 53° 41' 49'' = Output 53.699722
INPUT: 9° 44' 26'' = Output 9.740556

with HMS!?
Find all posts by this user
Quote this message in a reply
03-23-2017, 02:46 PM
Post: #2
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
In the [Toolbox] catalog:

→HMS(53.699722) ==>53°41′58.9992″

HMS→(53°41′58.9992″) ==> 53.699722

-Dale-
Find all posts by this user
Quote this message in a reply
03-23-2017, 03:53 PM (This post was last modified: 03-23-2017 03:54 PM by Onieh.)
Post: #3
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
I mean:
.
.
.
INPUT(DG,"Breitengrad");
INPUT(MI,"Minunten");
INPUT(SE,"Sekunden");

an then HMS->(DG°MI'SE''); !!??
Find all posts by this user
Quote this message in a reply
03-23-2017, 04:58 PM
Post: #4
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
(03-23-2017 03:53 PM)Onieh Wrote:  and then HMS->(DG°MI'SE''); !!??

You have to create the DG°MI'SE'' string before conversion like that:
Code:
HMS→(EXPR(DG+"°"+MI+"′"+SE+"″"));
Find all posts by this user
Quote this message in a reply
03-24-2017, 07:00 AM
Post: #5
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
(03-23-2017 03:53 PM)Onieh Wrote:  INPUT(DG,"Breitengrad");
INPUT(MI,"Minunten");
INPUT(SE,"Sekunden");

an then HMS->(DG°MI'SE''); !!??

If the user has to enter all three values separately, why don't you just calculate the decimal degrees as DG + MI/60 + SE/3600 ?-)

Dieter
Find all posts by this user
Quote this message in a reply
03-24-2017, 08:24 AM
Post: #6
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
Thaks for all example.

@Dieter, that is a good question! :-)
Find all posts by this user
Quote this message in a reply
Post Reply 




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