随笔分类 -  php技术

摘要:1 //数字保留两位小数2 $n = sprintf("%1.2f", $n);3 //方法二4 $n = number_format($n, 2, '.', '');5 6 //UTF8转GBK7 iconv("UTF-8", "GBK", $v); iconv("GBK","UTF-8",$v... 阅读全文
posted @ 2015-08-12 12:43 正能量爆棚的男人 阅读(144) 评论(0) 推荐(0)