20 Jun
2011
20 Jun
'11
8:34 a.m.
Perhaps, your locale requires comma as fp: "3,14"
But what if one did want to convert from "3.14" instead of "3,14"? How can one specify the customization in this case?
I believe, the default C locale uses dot as decimal point, so setlocale(LC_ALL, NULL) should help.