round(x,prec) 参数 描述 x 可选。规定要舍入的数字。 prec 可选。规定小数点后的位数。 echo round(3.1415);// print 3 echo round(3.1415, 3);// print 3.142