I'm using the following C++ syntax to output a floating point value on a Windows platform:
printf("%.2f", 1.5);
It works well if I run it on an English user account. My assumption was that if I run it on, say French user account, the output will be 1,50 instead of 1.50.
Why do I not see it and how to produce my desired result?