Cldr.Unit.Math.div-exclamation-mark

You're seeing just the function div-exclamation-mark, go back to Cldr.Unit.Math module for more information.

Specs

Divides one compatible %Unit{} type by another and raises on error

Options

Returns

  • A %Unit{} of the same type as unit_1 with a value that is the dividend of unit_1 and the potentially converted unit_2

  • Raises an exception