Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #5608 Float and Locale Issue
Submitted: 2005-10-05 14:37 UTC
From: wormus Assigned: lsmith
Status: Closed Package: MDB2
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 5 + 8 = ?

 
 [2005-10-05 14:37 UTC] wormus
Description: ------------ If your locale uses ',' as the decimal_seperator, then the quote() function will barf when adding a float into a float column. The same is true for all SQL generation. The only solution I have found is to change the locale generate the SQL and then switch it back.

Comments

 [2005-10-16 15:18 UTC] lsmith
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.