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
atof trucates real number with a dot but not comma on Linux [message #13528] Sun, 13 January 2008 11:21 Go to previous message
cocob is currently offline  cocob
Messages: 156
Registered: January 2008
Experienced Member
Hello all,

I'm a new user of ultimate++ on Linux
I have a really blocking problem with stdlib ascii/float conversion

double val = atof(real.c_str());

when real contains "54.67" for example, the val is truncated to 54.

This source was working with an other IDE
What's the problem ?

Thanks for your help

Edit: Topic name changed by fudadmin

[Updated on: Mon, 14 January 2008 23:49] by Moderator

Report message to a moderator

 
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: Thu Mar 28 22:24:10 CET 2024

Total time taken to generate the page: 0.01443 seconds