Jump to content
  • 0

Problem with decimals


MikeFoxcroft
 Share

Question

I've got some numbers (latitudes and longitudes) stored in my database with 6 decimal places, but when they're outputted in the DataPage only 2 decimals (or sometimes none). It's also only sending 2 decimals to Google Maps, so none of the points are in the right place. I've changed the localisation settings to 6 decimal places but no luck. What else could be causing it?

Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...