Python adding decimals to longitude values
<p>I have thousands of NAD83 latitude longitude values where the longitude values start with a negative like -747559718</p>

<p>this particular coordinate the decimal needs to be at after 4 to be properly used in the mapping application I am using. it should be -74.7559718</p>

<p>There are times where the longitude value will be -123092886 where the decimal should be after the 3. it should be -123.092886</p>

<p>I am reading these coordinates through a JSON file, for some reason they come with no decimals. I am looking for a pure python solution to insert the decimal at the correct place. </p>

<p>The numbers will be 9 or 10 digits long</p>

<p>I know i can do something like once i have my longitude value in a variable </p>

<pre><code> s = longitude
 s[:3] + '.' + s[3:]
</code></pre>