diff --git a/src/uxbox/util/math.cljs b/src/uxbox/util/math.cljs index 182c0d1fac..ed392183ed 100644 --- a/src/uxbox/util/math.cljs +++ b/src/uxbox/util/math.cljs @@ -2,6 +2,10 @@ "A collection of math utils." (:require [goog.math :as math])) +(defn abs + [^number v] + (js/Math.abs v)) + (defn sin "Returns the sine of a number" [^number v]