Menu

#32 handling with floating points & localisation

open
nobody
None
5
2007-08-11
2007-08-11
No

If you use mysqlDriverCS on Windows with german localization (german number format = decimal point: , thousand separator: .), the query result lost the decimal point (for example: 123,45 becomes to 12345).

This error occures only with the SQL-datatypes double and decimal, float-variables return the correct value.

If you change the Windows-localisation to english (USA) and recompile the project, all datatypes return the correct value.

Discussion


Log in to post a comment.