Used for token amounts conversion from their Big Number representation to number. Get value in the highest units from BN representation of the same value in the smallest units.

  • Parameters

    • value: BN

      Big Number representation of value in the smallest units.

    • decimals: number

      Number of decimals the token has.

    Returns number