🐛 Fix unexpected excetion related to rounding integers.

This commit is contained in:
Andrey Antukh 2021-05-26 11:54:40 +02:00
parent 6d0b36e9b9
commit 67cd877281

View file

@ -96,7 +96,7 @@
the nearest integer." the nearest integer."
[v] [v]
#?(:cljs (js/Math.round v) #?(:cljs (js/Math.round v)
:clj (Math/round v))) :clj (Math/round (float v))))
(defn ceil (defn ceil
"Returns the smallest integer greater than "Returns the smallest integer greater than