c# 表示格式化金钱(千位)显示方式... 例如..2,444,444,444
1)
double dou = 333333;
Response.Write(MyDouble.ToString("N0"));
2)
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
try
{
this.GridView1.Rows[i].Cells[10].Text = Convert.ToDecimal(this.GridView1.Rows[i].Cells[10].Text).ToString("N0");
}
catch { continue; }
}
此方法不能应用于带小数点的数字..