开发者

How can i read the decimal character of my computer?

I would like to get the decimal character with vb.net In Greek the decimal character is "," while in other countries they have "." as decimal character.

So how can i read, with .net wh开发者_JS百科at is the decimal character?


Use CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator.


Look at these properties:

CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator
CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator
CultureInfo.CurrentCulture.NumberFormat.PercentDecimalSeparator
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜