store/[org.clojure/clojure "1.8.0"] clj::clojure.core/decimal?

Official Documentation

Add notes
Arities
==================================================
   [n]

Docstring
==================================================
  Returns true if n is a BigDecimal

Source

(defn decimal?
  "Returns true if n is a BigDecimal"
  {:added "1.0"
   :static true}
  [n] (instance? BigDecimal n))

Example 1

Edit
(decimal? 1)
;; => false

(decimal? 1.0)
;; => false

(decimal? 1M)
;; => true

(decimal? 99999999999999999999999999999999999)
;; => false

(decimal? 1.0M)
;; => true

Uses on crossclj