• Format a BaseNumber to a string depending on given decimal places

    Parameters

    • value: BigNumber
    • decimal: number = 2

      The decimal place. (optional)

    Returns string

    The formatted string from the given BigNumber and decimal place.

Generated using TypeDoc