zibri
    Preparing search index...

    Class BigNumberUtilitiesAbstract

    Provides functionality around calculating with high precision.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Precisely adds the given values.

      Parameters

      • value1: number | BigNumber

        The first number for the addition.

      • value2: number | BigNumber

        The second number for the addition.

      Returns BigNumber

      The precise result as BigNumber.

    • Precisely divides the first value by the second value.

      Parameters

      • dividend: number | BigNumber

        The value that will be divided.

      • divisor: number | BigNumber

        The value that divides the first value.

      Returns BigNumber

      The precise result as BigNumber.

    • Precisely multiplies the given values.

      Parameters

      • value1: number | BigNumber

        The first number to multiply.

      • value2: number | BigNumber

        The second number to multiply.

      Returns BigNumber

      The precise result as BigNumber.

    • Creates a BigNumber from the provided input.

      Parameters

      • value: number

        The number value to create from.

      Returns BigNumber

      A new BigNumber.