toCustomCurrency

Creates a CustomCurrency based on this instance data.

Parameters

minorUnits

The minor units (i.e., the decimal places) for the custom currency.

Throws

When minorUnits is lower than zero.