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 » Huge error of Postgresql! Double fields by transmission to the program lose a fractional part!
Re: Huge error of Postgresql! Double fields by transmission to the program lose a fractional part! [message #47524 is a reply to message #47523] Wed, 25 January 2017 19:02 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
sergeynikitin wrote on Wed, 25 January 2017 18:54
Why closed? I place there picture, where error is still exists!


Actually, I have suspiction here...

Can you check how that 's' looks like? (E.g. put DUMP(s) before atof).

I suspect that maybe, your PGSQL is returning decimal comma and atof is unable to handle that, which ScanDouble is.

It would be strange borderline issue, but really worth fixing.

(OTOH, 'atoi' was NEVER there, sorry. You can check svn log....)

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I propose to Add Postgresql to topic header
Next Topic: How can .sch express a many-to-many relationship ?
Goto Forum:
  


Current Time: Sat May 11 06:21:58 CEST 2024

Total time taken to generate the page: 0.02753 seconds