BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
Calculate
Calculate
calculateSectorArea
determineQuadrant
distance
doubleToString
floatToFraction
gcd
hasDecimal
isNumeric
normalizeAngle
qDegreesToRadians
qRadiansToDegrees
radiansToDMS
round
sgn
truncateDoubleByDecimal
~Calculate
◆
round()
static double round
(
const double
v
,
const double
precision
)
static
按指定精度对浮点数进行四舍五入
根据指定的精度对浮点数进行四舍五入。
参数
[in]
v
要四舍五入的值
[in]
precision
指定的精度
返回
四舍五入后的值