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