C#数字格式化输出
摘要:
int a = 12345678; //格式为sring输出 Label1.Text = string.Format("asdfadsf{0}adsfasdf",a); Label2.Text = "asdfadsf"+a.ToString()+"adsfasdf"; Label1.Text = string.Format("asdfadsf{0:C}adsfasdf",a);//a... 阅读全文
posted @ 2009-04-09 03:11 天涯之外 阅读(288) 评论(0) 推荐(0) 编辑