Liking cljdoc? Tell your friends :D

dinero.math


addcljmultimethod

(add & moneis)

Adds the given monetary amounts.

Adds the given monetary amounts.
sourceraw docstring

dividecljmultimethod

(divide money divisor)

Divides the given monetary amount by the given divisor.

Divides the given monetary amount by the given divisor.
sourceraw docstring

money-abscljmultimethod

(money-abs money)

Returns the absolute value of the given monetary amount.

Returns the absolute value of the given monetary amount.
sourceraw docstring

money-maxcljmultimethod

(money-max & moneis)

Returns the maximum of the given monetary amounts.

Returns the maximum of the given monetary amounts.
sourceraw docstring

money-mincljmultimethod

(money-min & moneis)

Returns the minimum of the given monetary amounts.

Returns the minimum of the given monetary amounts.
sourceraw docstring

money-neg?clj

(money-neg? money)

Returns true if the given monetary amount is negative.

Returns true if the given monetary amount is negative.
sourceraw docstring

money-pos?clj

(money-pos? money)

Returns true if the given monetary amount is positive.

Returns true if the given monetary amount is positive.
sourceraw docstring

money-zero?clj

(money-zero? money)

Returns true if the given monetary amount is zero.

Returns true if the given monetary amount is zero.
sourceraw docstring

money<clj

(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.
sourceraw docstring

money<=clj

(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.
sourceraw docstring

money>clj

(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.
sourceraw docstring

money>=clj

(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.
sourceraw docstring

multiplycljmultimethod

(multiply money factor)

Multiplies the given monetary amount by the given factor.

Multiplies the given monetary amount by the given factor.
sourceraw docstring

negatecljmultimethod

(negate money)

Negates the given monetary amount.

Negates the given monetary amount.
sourceraw docstring

subtractcljmultimethod

(subtract & moneis)

Subtracts the given monetary amounts.

Subtracts the given monetary amounts.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close