Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Allow values with more than 2 decimals for default logitude/latitude. #3

Open
hvorragend opened this issue Aug 18, 2011 · 0 comments
Open

Comments

@hvorragend
Copy link
Member

When setting values to latitude 48.213692646648035 and longitude: 16.4080810546875 they are not accepted. Seems to accept just up to 2 decimals, while the google map api allows (and displays) loger values.
Greetings,
Chris
Change History
comment:1 Changed 2 years ago by wvoigt

From the looks of it, it appears this is a problem with the pnformfloatinput validation. If you type any value with more than a few decimals, the decimal gets lost. Then the number is out of range. If you type a number of one decimal, say 48.1, it changes it to 48.01 This seems to be localized to pnformfloatinput. Possibly http://code.zikula.org/core/ticket/178 But I'm running on 1.0.3 and still seeing the problem. Not sure if http://code.zikula.org/core/ticket/950 is it. But it certainly looks like there are lingering problems with pnformfloatinput validation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant