首页 > 解决方案 > Why C# don't convert ',' symbol to double when changing region to en?

问题描述

I try to find information, but didn't find the reasons for wrong conversion. Help me, please!

Source: https://github.com/era312/UWP-Calculator/blob/master/src/calculator/MainPage.xaml.cs Video with proble: https://youtu.be/nCttAnnSKrI

标签: c#uwpwindows-10double

解决方案


我们已经测试过,但我们无法重现此问题。我在你的计算器里发现了奇怪的符号。默认的十进制符号是“.” 但不是","。请尝试重置自定义格式。

工艺步骤:

控制面板->区域->其他设置->重置。

在此处输入图像描述


推荐阅读