we recently updated from WinCC OA V3.18 P009 to WinCC OA V3.18 P015 and noticed that when converting data type via cast operator "(string)" from float to string, comma is used as decimal separator (with project language German). In Patch P009 dot is still used as decimal separator. What is the background of this adjustment?
We are aware that via sprintf() the decimal separator is still dot.
Test with function below provides different results:
- Patch P009: "fTest = 1.23"
- Patch P015: "fTest = 1,23"
Code: Select all
main()
{
float fTest = 1.23;
DebugTN("fTest = " + (string)fTest);
}