Function subtract

  • Subtract two numbers.

    Parameters

    • minuend: number

      The first number in a subtraction.

    • subtrahend: number

      The second number in a subtraction.

    Returns number

    Since

    1.0.0

    Example

    subtract(5, 2);
    // => 3