I write number to file like this:
Code:
fprintf(file,"%f",float_number);
And I get e.g. 2,5000 instead of 2.5000. This causes many problems in reading this file by other programs. How to fix this?
I have gcc 4.1.2 and Debian Etch with Polish locales.