• Convert a Decimal.js to a Big.js

    Parameters

    • decimal: Decimal

      the Decimal.js object to convert

    • Optionaldecimals: number

      the number of decimal places

    Returns Big

    Big.js