Function amountToNumber

  • Converts an amount to a number by using the amount's decimals. Note that this may throw an error if the amount is too large to fit in a JavaScript number.

    Parameters

    • value: Amount<string, number>

    Returns number

Generated using TypeDoc