Trouble with numbers and commas
I'm working on a new module and I have an integer field which is used to store a year number. The problem is, apparently while "2007" falls between my validation numbers of 2000 and 2010, "2,007" does not, and therefore when editing a record you need to manually re-enter the year for it to be accepted. Is there any way to fix this apart from setting the default number separator in config.php to null? I don't want to disable commas system-wide.
Server: Fedora
Sugar 5 CE
Apache 2.2.6
MySQL 5.0.27
Bookmarks