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++ TheIDE » U++ TheIDE: Packages » atof trucates real number with a dot but not comma on Linux
Re: atof trucates real number with a dot but not comma on Linux [message #13656 is a reply to message #13653] Sat, 19 January 2008 14:23 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
cocob wrote on Sat, 19 January 2008 11:44


Yes it works (with ',') with a gcc program without U++ and it works with U++ without core package dependency


If it works with ',' with a normal gcc program, it means that for sure is sour system default fractional part separator. IMO, if this is such a problem and you don't want to research/mess around with system locales, why not just write your own atof function?
 
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: UVS2 usage
Next Topic: vsprintf() doesn't support "%I64u" format in Win32 platform?
Goto Forum:
  


Current Time: Sun Apr 28 07:09:27 CEST 2024

Total time taken to generate the page: 0.04925 seconds