I'm programming in C on Eclipse. In the console, when a real is displayed, the integer and the fraction are separate by comma. How can I change to point to separate 2 parts ?
Asked
Active
Viewed 665 times
1 Answers
1
I guess you are using printf() to print the numbers.
Then it seems there are some SO answers suitable for you:
But they all suggest you to change the current locale, and I guess there is no easier way, since the standard library doesn't provide any other option for that.