(NSInteger)round(float或者double类型的数据) 转载http://blog.youkuaiyun.com/zhangkongzhongyun/article/details/22065607