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: problem with stdlib [message #13562 is a reply to message #13560] Mon, 14 January 2008 23:43 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
I said "something like that"... Have you tried to change the language accordingly to
in Germany, Poland and some ohter countries 'decimal character' is comma, not a dot.


with
SetLanguage(LNG_?????);  //language which supports dot
SetDefaultCharset(CHARSET_????);  //charset which you get with 
a right click in the ide

Which country are you in? Or what language settings have you got in rc.conf (or similar)? (and/or What distro?)

Edit: Actually, yes, LNG_ENGLISH should support dot...
I don't have my Linux hdd at the moment, so can't test.

[Updated on: Tue, 15 January 2008 00:32]

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: Sat Apr 27 22:18:08 CEST 2024

Total time taken to generate the page: 0.05185 seconds