2011年12月16日

金额 格式化转换字符串

摘要: lblText.Text=string.Format("{0:C2}",12.345);//¥12.35Objectd=newObject();d="12.345";lblText.Text=String.Format("{0:C2}",d);//12.345lblText.Text=String.Format("{0:C2}",d.ToString());//12.345Objectc=newObject();c=12.345;lblText.Text=String.Format("{0:C2}&quo 阅读全文

posted @ 2011-12-16 11:20 shine0210 阅读(358) 评论(0) 推荐(0) 编辑

导航