我试图将字符串转换为印度货币格式,如果输入是"1234567"然后输出应为"12,34,567"
我写了下面的代码,但它没有给出预期的输出.
CultureInfo hindi = new CultureInfo("hi-IN"); string text = string.Format(hindi, "{0:c}", fare); return text;
谁能告诉我怎么做?
c# windows-8 .net-4.5
.net-4.5 ×1
c# ×1
windows-8 ×1