Skip to main content

round

functionv1.11

cljs.math/round

(round [a])
Returns the closest long to a. If equally close to two values, return the one closer to ##Inf. If a is ##NaN => 0 If a is ##-Inf => js/Number.MIN_SAFE_INTEGER If a is ##Inf => js/Number.MAX_SAFE_INTEGER See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round

No examples yet. Be the first to add one!