(fast-money-of)
(fast-money-of amount)
(fast-money-of amount currency)
Creates a fast monetary amount with the given amount and currency.
Creates a fast monetary amount with the given amount and currency.
(fast-money? money)
Returns true if the given value is a monetary amount of type FastMoney
.
Returns true if the given value is a monetary amount of type `FastMoney`.
(get-amount money)
Returns the amount of the given monetary amount.
Returns the amount of the given monetary amount.
(get-currency money)
Returns the currency of the given monetary amount.
Returns the currency of the given monetary amount.
(get-rounding-mode money)
Returns the rounding mode of the given rounded monetary amount.
Returns the rounding mode of the given rounded monetary amount.
(get-scale money)
Returns the scale of the given monetary amount.
Returns the scale of the given monetary amount.
(money-of)
(money-of amount)
(money-of amount currency)
Creates a monetary amount with the given amount and currency.
Creates a monetary amount with the given amount and currency.
(money? money)
Returns true if the given value is a monetary amount of type Money
.
Returns true if the given value is a monetary amount of type `Money`.
(rounded-money-of)
(rounded-money-of amount)
(rounded-money-of amount currency)
(rounded-money-of amount currency scale)
(rounded-money-of amount currency scale rounding-mode)
Creates a rounded monetary amount with the given amount, currency, scale, and rounding mode.
Creates a rounded monetary amount with the given amount, currency, scale, and rounding mode.
(rounded-money? money)
Returns true if the given value is a monetary amount of type RoundedMoney
.
Returns true if the given value is a monetary amount of type `RoundedMoney`.
(with-currency currency & body)
Evaluates the body with the given currency as the default currency.
Evaluates the body with the given currency as the default currency.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close