>>> round(12.3) 12.0 >>> round(12.5) 13.0 >>> round(12.36) 12.0 >>> 精确度只能精确到小数点后面一位。 转载于:https://www.cnblogs.com/blogofwyl/p/4658476.html