Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

coordinates

Posted on 2011-10-14
2
Medium Priority
?
184 Views
Last Modified: 2012-05-12
How can I turn string of coordinates to latitude and longitude?

sample : latitude 86,5,51,0  longitude 41, 8.74, 0

86.551000000000   41.874000000   ?
0
Comment
Question by:VBdotnet2005
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 36969383
0
 
LVL 40
ID: 36969808
Dim original As String = "86,5,51,0"
Dim values() As String = original.Split(","c)
Dim result As String

result = values(0) & "." & (values(1) & values(2) & values(3)).PadRight(12, "0"c)

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question