摘要:
摘录自网络,收藏以备用1.NumberFormatInfo类System.Globalization.NumberFormatInfo provider = new System.Globalization.NumberFormatInfo();provider.NumberDecimalDigits =intDecLength; //要设定的小数位数double strCashAmt=Convert.ToDouble(this.txtCashAmt.Text); //先把控件內的值转成doublethis.txtCashAmt.Text = strCashAmt.ToString(" 阅读全文
posted @ 2013-12-05 10:53
晚@风
阅读(413)
评论(0)
推荐(0)

浙公网安备 33010602011771号