Miscellaneous functions.
Miscellaneous functions.
(factorial n)Inputs: [n :- s/Int] Returns: s/Int
Computes the factorial of N
Inputs: [n :- s/Int] Returns: s/Int Computes the factorial of N
(round-decimals val N)Round a floating point number to N decimal places, returning a double.
(round-decimals 3.14156 2) => 3.14
Round a floating point number to N decimal places, returning a double. (round-decimals 3.14156 2) => 3.14
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |