四舍五入相关

root 站长 2019-11-03 9:57:36 8
ceil(1.1) = 2 向上取整
floor(1.9) = 1 向下取整
round(1.5)  = 2 四舍五入 
以上三个头文件包含在头文件cmath 
{{ vote && vote.total.up }}