格式化数据输出_string.Format
摘要:
textBox1.Text = string.Format("{0:F2}", data1);//小数点后保留两位,即使如2,保留成2.00目前只用了上面这个。先留着,以后看。http://msdn.microsoft.com/zh-cn/library/system.string.format(v=VS.80).aspx// This code example demonstrates the String.Format() method.// Formatting for this example uses the "en-US" culture.u 阅读全文
posted @ 2013-05-03 14:38 laymond 阅读(236) 评论(0) 推荐(0)
浙公网安备 33010602011771号