String.Format("{0:C}",amount)

string.format方法的调用把amount转换为字符串类型,并且格式化该字符串,以便它能够显示两位小数。

posted on 2008-06-01 21:26  费戈  阅读(358)  评论(0编辑  收藏  举报

导航