mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix unexpected excetion related to rounding integers.
This commit is contained in:
parent
6d0b36e9b9
commit
67cd877281
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@
|
|||
the nearest integer."
|
||||
[v]
|
||||
#?(:cljs (js/Math.round v)
|
||||
:clj (Math/round v)))
|
||||
:clj (Math/round (float v))))
|
||||
|
||||
(defn ceil
|
||||
"Returns the smallest integer greater than
|
||||
|
|
Loading…
Add table
Reference in a new issue