Searched refs:roundFactor (Results 1 – 2 of 2) sorted by relevance
47 static constexpr double roundFactor = 10000; // 3 decimal places variable182 nvalue = std::round(nvalue * roundFactor) / roundFactor; in handleResponse()
108 static constexpr double roundFactor = 10000; // 4 decimal places in setPercentProperty() local109 asyncResp->res.jsonValue[jPtr] = std::round(userCPU * roundFactor) / in setPercentProperty()110 roundFactor; in setPercentProperty()