NewDash

    Function subtract

    • Subtract two numbers.

      Parameters

      • minuend: string

        The first number in a subtraction.

      • subtrahend: string

        The second number in a subtraction.

      Returns number

      Returns the difference.

      5.10.0

      subtract(6, 4)
      // => 2
    • Subtract two numbers.

      Parameters

      • minuend: number

        The first number in a subtraction.

      • subtrahend: number

        The second number in a subtraction.

      Returns number

      Returns the difference.

      5.10.0

      subtract(6, 4)
      // => 2
    • Subtract two numbers.

      Type Parameters

      • T

      Parameters

      • minuend: T

        The first number in a subtraction.

      • subtrahend: T

        The second number in a subtraction.

      Returns T

      Returns the difference.

      5.10.0

      subtract(6, 4)
      // => 2
    MMNEPVFCICPMFPCPTTAAATR