(数字保留两位小数,且每隔3为用逗号隔开):tring.Format格式化用法-LMLPHP

string.Format格式化用法-LMLPHPtring.format("1f,.2d",333) -->333.00

tring.Format格式化用法-LMLPHPstring.Format格式化用法-LMLPHPtring.format("1f,.2d",333.092) -->333.09

http://www.cnblogs.com/sunzhongzheng/p/4064731.html

05-11 20:46