• Convert a fixed point BigNumber to its float string representation, with optional number of fixed point decimal places ex. fromFixedPoint(BN(314), 2) => "3.14"

    Parameters

    • val: BigNumberish
    • decimals: number = 18

      number of fixed point decimal places in val

    Returns BigDecimal