Money.div-exclamation-mark
You're seeing just the function
div-exclamation-mark, go back to Money module for more information.
Specs
div!(t(), Cldr.Math.number_or_decimal()) :: t() | none()
Divide a Money value by a number and raise on error.
Arguments
moneyis any validMoney.ttypes returned byMoney.new/2numberis an integer, float orDecimal.t
Returns
a
Money.tstruct orraises an exception
Examples
iex> Money.div!(Money.new(:USD, 200), 2)
#Money<:USD, 100>
iex> Money.div!(Money.new(:USD, 200), "xx")
** (ArgumentError) Cannot divide money by "xx"