Apache OpenOffice (AOO) Bugzilla – Issue 18632
Localization floating point number formats impede inserting into ODBC databases.
Last modified: 2006-05-31 14:29:06 UTC
I create a MyODBC data source and I define a floating point field in the tables. Then I make a Form with an autopilot. All seems to be right. But when I introduce data in the float type field OpenOffice.org sends an incorrect query due to the coma separator of the floats in my localization format (Spanish). In one of my tests MySQL receives this: INSERT INTO `test` ( `floatfield`) VALUES ( 2,39999999999999991e+00) MySQL interprets two field values: 2 and 39999999999999991e+00, because of the ',' that in Spanish is the correct separator. This would be correct: INSERT INTO `test` ( `floatfield`) VALUES ( '2,39999999999999991e+00')
ocke, is this a resurrection of MySQL's locale problem?
. *** This issue has been marked as a duplicate of 6600 ***
change subcomponent to 'none'
close it