View Single Post
Posts: 9 | Thanked: 0 times | Joined on Apr 2006
#68
Originally Posted by mgedmin
Could it be that the atof function pays attention to the system locale, specifically, to the decimal separator? Demosthenes, if you open language/region in the control panel, what is the decimal separator set to?
Yes, it could be. I have selected 'spanish' and yes, the decimal separator is comma (How do you have deduced that I am not english? My fluent english, maybe? )

Really is 'c' funtion 'atof' in linux language dependant? I have been a windows/dos programmer for long time and never base functions in c have been language dependant. If that's true, I have to take care for future developments in linux .

Cheers. Demostenes