php四舍五入

echo round(1.95583, 2); // 1.96 

 

posted @ 2016-05-07 21:59  izhenyang  阅读(98)  评论(0)    收藏  举报