(add & moneis)
Adds the given monetary amounts.
Adds the given monetary amounts.
(divide money divisor)
Divides the given monetary amount by the given divisor.
Divides the given monetary amount by the given divisor.
(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 rounded monetary amount.
Returns the scale of the given rounded monetary amount.
(money-abs money)
Returns the absolute value of the given monetary amount.
Returns the absolute value of the given monetary amount.
(money-max & moneis)
Returns the maximum of the given monetary amounts.
Returns the maximum of the given monetary amounts.
(money-min & moneis)
Returns the minimum of the given monetary amounts.
Returns the minimum of the given monetary amounts.
(money-neg? money)
Returns true if the given monetary amount is negative.
Returns true if the given monetary amount is negative.
(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-pos? money)
Returns true if the given monetary amount is positive.
Returns true if the given monetary amount is positive.
(money-zero? money)
Returns true if the given monetary amount is zero.
Returns true if the given monetary amount is zero.
(money< money-1 money-2)
Returns true if the first monetary amount is less than the second monetary amount.
Returns true if the first monetary amount is less than the second monetary amount.
(money<= money-1 money-2)
Returns true if the first monetary amount is less than or equal to the second monetary amount.
Returns true if the first monetary amount is less than or equal to the second monetary amount.
(money> money-1 money-2)
Returns true if the first monetary amount is greater than the second monetary amount.
Returns true if the first monetary amount is greater than the second monetary amount.
(money>= money-1 money-2)
Returns true if the first monetary amount is greater than or equal to the second monetary amount.
Returns true if the first monetary amount is greater than or equal to the second monetary amount.
(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`.
(multiply money factor)
Multiplies the given monetary amount by the given factor.
Multiplies the given monetary amount by the given factor.
(negate money)
Negates the given monetary amount.
Negates the given monetary amount.
(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`.
(subtract & moneis)
Subtracts the given monetary amounts.
Subtracts the given monetary amounts.
(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