diff --git a/common/src/app/common/math.cljc b/common/src/app/common/math.cljc index 3d41530ac3..688872c16a 100644 --- a/common/src/app/common/math.cljc +++ b/common/src/app/common/math.cljc @@ -192,7 +192,7 @@ (defn round-to-zero "Given a number if it's close enough to zero round to the zero to avoid precision problems" [num] - (if (almost-zero? num) + (if (< (abs num) 1e-4) 0 num))