diff --git a/src/api/ApiState.cpp b/src/api/ApiState.cpp index 0ccb34fe6..c963a1d69 100644 --- a/src/api/ApiState.cpp +++ b/src/api/ApiState.cpp @@ -57,7 +57,7 @@ static inline double normalize(double d) return 0.0; } - return std::floor(d * 100.0) / 100.0; + return floor(d * 100.0) / 100.0; }