Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » truncated double values from mysql
truncated double values from mysql [message #25047] Tue, 09 February 2010 10:21 Go to previous message
MatthiasG is currently offline  MatthiasG
Messages: 27
Registered: January 2008
Location: Germany
Promising Member
Hello,

if i set up my system to LC_NUMERIC=de_DE upp uses ',' as decimal point in double values.
the problem is, that the atof() function now also only accepts double values with a ',' as decimal points.
the mysql plugin however also uses atof() to read doubles from the database. but it seems to me, that mysql always returns doubles with '.', not matter what LC_NUMERIC i set.
is it possible, to change the call to atof() in mysql package to ScanDouble(), so that i always get back the right value...

greetings,
Matthias

PS: sorry for my bad english...
 
Read Message
Read Message
Read Message
Previous Topic: PostgreSQL and binary data
Next Topic: Workaround: Hybridizing SqlExp usage
Goto Forum:
  


Current Time: Thu May 02 00:00:37 CEST 2024

Total time taken to generate the page: 0.02523 seconds