I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
03-23-2017, 02:06 PM
Post: #1
 Onieh Junior Member Posts: 33 Joined: Mar 2017
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!?
03-23-2017, 02:46 PM
Post: #2
 DrD Senior Member Posts: 1,132 Joined: Feb 2014
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-
03-23-2017, 03:53 PM (This post was last modified: 03-23-2017 03:54 PM by Onieh.)
Post: #3
 Onieh Junior Member Posts: 33 Joined: Mar 2017
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
I mean:
.
.
.
INPUT(MI,"Minunten");
INPUT(SE,"Sekunden");

an then HMS->(DG°MI'SE''); !!??
03-23-2017, 04:58 PM
Post: #4
 Didier Lachieze Senior Member Posts: 1,369 Joined: Dec 2013
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+"″"));
03-24-2017, 07:00 AM
Post: #5
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
RE: I would like 53° 41′ 59″ N 9° 44′ 26″ E in 53.699722°, 9.740556°
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
03-24-2017, 08:24 AM
Post: #6
 Onieh Junior Member Posts: 33 Joined: Mar 2017
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! :-)
 « Next Oldest | Next Newest »

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