(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`.
(to-fast-money-long amount)Converts the given amount to the long-based internal representation of FastMoney.
Converts the given amount to the `long`-based internal representation of `FastMoney`.
(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 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 |