我的小数点是逗号而不是句号。 [英] My decimal point is a comma and not a full stop.

查看:133
本文介绍了我的小数点是逗号而不是句号。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,大家好抱歉,但我对视觉工作室很新,由于某些原因,我的所有小数都显示为','而不是'。'我怎么改变这个。我看了,但我不知道如何改变它。我希望它显示一个数字为2.5而不是2,5,i
也必须输入一个小数的逗号,否则它会崩溃。我怎么能改变这个请求帮助。

Hey guys sorry for asking but i am rather new to visual studios and for some reason all my decimals are shown as ',' instead of '.' how do i change this. i have looked but i cant see how to change it. I'd like it to display a number as 2.5 and not 2,5, i also have to input a comma for a decimal or else it crashes. how can i change this please help.

谢谢 

推荐答案


由于某种原因,我的所有小数都显示为','而不是'。'我如何更改它。我看了,但我不知道如何改变它。我希望它显示一个2.5而不是2,5的数字,我还必须输入一个小数点的逗号,否则它会崩溃。

for some reason all my decimals are shown as ',' instead of '.' how do i change this. i have looked but i cant see how to change it. I'd like it to display a number as 2.5 and not 2,5, i also have to input a comma for a decimal or else it crashes.

这通常是使用区域设置的结果,该区域设置要么将分隔符定义为
,要么将分隔符定义为逗号或定义地理位置region(例如 - country)

默认使用逗号。 (例如法国。)



您需要提供更多信息。



这是否恰好发生在您创建的程序中?

或者是否会在您运行的所有程序中发生?



它是否也在IDE编辑器中发生? (在您的* source *代码中?)



您在
计算机上操作系统的区域设置(国家/地区)设置是什么?重新使用?



- Wayne

That is usually a result of locale settings being used which either define
the separator as a comma or define the geographical region (e.g. - country)
as one which uses the comma by default. (Such as France.)

You need to provide a little more information.

Is this just happening in programs that you create?
Or does it happen in all programs that you run?

Is it happening in the IDE editor as well? (In your *source* code?)

What is the locale (country) settings for the operating system on the
computer you're using?

- Wayne


这篇关于我的小数点是逗号而不是句号。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆