Convert angular values to strings


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Lionel Joyner *DClub on December 22, 2002 at 17:21:59:

Recently I saw an application that would take an angular input value of 87 45 23.76 into one Edit Box and then display Degrees, Minutes and Seconds. It also displayed Degrees and decimal minutes, plus Decimal Degrees.

I know how to enter DD.MMSS and handle it also I know how to Enter Deg Min Sec into seperate Edit Boxes and handle that but I have not been able to master the input of a number such as 34 23 12.5 into an Edit Box and then break it up into variables such as D M S and then use the variables to compute Decimal Degrees and Radians for my project. Is this a case where Strings are involved? I have not been able to find any information on this procedure because I don't know what the key words are in order to look it up and hope someone has a suggestion.


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]