BIMHome v1.0.0
BIMHome接口文档说明

◆ round()

static double round ( const double  v,
const double  precision 
)
static

按指定精度对浮点数进行四舍五入

根据指定的精度对浮点数进行四舍五入。

参数
[in]v要四舍五入的值
[in]precision指定的精度
返回
四舍五入后的值