Convert integer latitude and longitude to decimal (using for google maps api)
<p>Currently I'm trying to convert integer <code>latitude</code> and <code>longitude</code> to decimal (degrees). The specification from where I get the data says:</p>
<blockquote>
<p>| Latitude | Position latitude | Integer, number of 1/10th of a second  |</p>
<p>| Longitude | Position longitude | Integer, number of 1/10th of a second  |</p>
</blockquote>
<p>Here is a sample number:</p>
<ul>
<li>Latitude: <code>1914383</code></li>
<li>Longitude: <code>371352</code></li>
</ul>
<p>What I need, is something in this format:</p>
<ul>
<li>Latitude: <code>51.39796</code></li>
<li>Longitude: <code>14.62539</code></li>
</ul>
<p>How can I convert those formats?</p>
<p>I've seen a few implementations in c#, but nothing that was really usable for me, or I don't get how this might work. What I've tried:</p>
<p><a href="https://stackoverflow.com/questions/14557684/converting-gps-coordinates-latitude-and-longitude-to-decimal">Converting GPS coordinates (latitude and longitude) to decimal</a>
and <a href="https://stackoverflow.com/questions/1140189/converting-latitude-and-longitude-to-decimal-values">Converting latitude and longitude to decimal values</a></p>
<p>Thanks a lot</p>