Function mulBig

  • Multiplies two Big instances and returns the result as a new Big instance.

    Parameters

    • a: Big

      The first Big instance.

    • b: Big

      The second Big instance.

    • Optional mutable: boolean = false

      Whether to mutate the first Big instance. Defaults to false.

    Returns Big

    The result of the multiplication.

    Example

    mulBig(new Big(1), new Big(2)); // new Big instance with value 2
    mulBig(new Big(1.1), new Big(2.2)); // new Big instance with value 2.42
    mulBig(new Big(1.1), new Big(2)); // new Big instance with value 2.2

Generated using TypeDoc