Yup, you should just convert it in python by dividing by 10,000,000 I think. We have a quick description of what’s going on here:
Because of NXT-G 1.0’s integer math limitations, the Dexter Industries GPS sensor sends and receives data in the format ddmmmmmm. Therefore, data must be input into the GPS sensor in integer format (no decimals).
Latitude is represented by an 8-digit integer. If the position is in the northern hemisphere, the number is positive. If the position is in the southern hemisphere, the latitude is negative.
Longitude is represented by a 9-digit integer. If the position is in the eastern hemisphere, the number is positive. If the position is in the western hemisphere, the number is negative.
Would it be more convenient in our example if we just divided by 10,000,000? Should we change the example?
Are you tacking another number on there at the end somehow in the python code? Your firmware is definitely working correctly, I think the number is somehow being processed wrongly, or something is being tacked on at the end somehow.