When I apply toString()
on a number of type double, I get the string with .
as the decimal separator. In one of my projects only, I get ,
as the decimal separator.
I have not changed CultureInfo data. My CurrentCulture is el-GR
in all my projects which is the default system Culture. el-GR
uses ,
as the decimal separator but I have changed this value through Windows Regional Settings to .
which is reflected correctly to all my projects except the one in question.
The only difference I can tell is that it is a Web Site and not a usual Visual Studio Project. I do not know if this forces Visual Studio NOT to take into account the local computer NumberFormat exceptions and if/how this can be changed.