store/[org.clojure/clojure "1.8.0"] clj::clojure.core/dec'

Official Documentation

Add notes
Arities
==================================================
   [x]

Docstring
==================================================
  Returns a number one less than num. Supports arbitrary precision.
  See also: dec

Source

(defn dec'
  "Returns a number one less than num. Supports arbitrary precision.
  See also: dec"
  {:inline (fn [x] `(. clojure.lang.Numbers (decP ~x)))
   :added "1.0"}
  [x] (. clojure.lang.Numbers (decP x)))

Example 1

Edit
(dec' 0.1)
;; => -0.9

(dec' 1)
;; => 0

(dec' 1.0)
;; => 0.0

Uses on crossclj