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 |
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
|
|
|
|
|
atof trucates real number with a dot but not comma on Linux
By: cocob on Sun, 13 January 2008 11:21
|
|
|
Re: problem with stdlib
By: cocob on Sun, 13 January 2008 11:33
|
|
|
Re: problem with stdlib
By: mirek on Sun, 13 January 2008 14:37
|
|
|
Re: problem with stdlib
By: cocob on Sun, 13 January 2008 15:48
|
|
|
Re: problem with stdlib
By: cocob on Mon, 14 January 2008 15:40
|
|
|
Re: problem with stdlib
By: mr_ped on Mon, 14 January 2008 16:54
|
|
|
Re: problem with stdlib
By: fudadmin on Mon, 14 January 2008 18:07
|
|
|
Re: problem with stdlib
By: cocob on Mon, 14 January 2008 19:07
|
|
|
Re: problem with stdlib
By: fudadmin on Mon, 14 January 2008 20:12
|
|
|
Re: problem with stdlib
By: cocob on Mon, 14 January 2008 20:25
|
|
|
Re: problem with stdlib
By: fudadmin on Mon, 14 January 2008 23:43
|
|
|
Re: problem with stdlib
By: fudadmin on Tue, 15 January 2008 00:09
|
|
|
Re: atof trucates real number with a dot but not comma on Linux
By: cocob on Tue, 15 January 2008 09:45
|
|
|
Re: atof trucates real number with a dot but not comma on Linux
By: cocob on Sat, 19 January 2008 09:59
|
|
|
Re: 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
By: cocob on Sat, 19 January 2008 11:44
|
|
|
Re: 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
By: mr_ped on Sat, 19 January 2008 15:09
|
|
|
Re: atof trucates real number with a dot but not comma on Linux
By: zsolt on Sat, 19 January 2008 15:17
|
|
|
Re: atof trucates real number with a dot but not comma on Linux
By: mr_ped on Sat, 19 January 2008 15:11
|
Goto Forum:
Current Time: Wed Jun 05 04:07:46 CEST 2024
Total time taken to generate the page: 0.01728 seconds
|