Function divide

  • Divide numbers.

    Parameters

    • dividend: number

      A number which is divided by another number.

    • divisor: number

      A number by which another number is divided.

    • Optional Rest ...args: number[]

      Additional numbers to divide.

    Returns number

    Returns the quotient.

    Since

    0.1.0

    Example

    divide(9, 3)
    // => 3

    divide(9, 3, -3)
    // => -1