Cldr.Unit.Math.sub-exclamation-mark

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

Specs

Subtracts two compatible %Unit{} types and raises on error

Options

Returns

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

  • Raises an exception