Function divide

  • Divide two numbers.

    Parameters

    • dividend: number

      The first number in a division.

    • divisor: number

      The second number in a division.

    Returns number

    The quotient.

    Since

    1.0.0

    Example

    divide(5, 2);
    // => 2.5