Returns the result of dividing one number by another.

Parameters

dividend Number (required) - The number to divide.

divisor Number (required) - The number to be divided by.

Returns

Number

Examples

QUOTIENT(30, 5)

// returns 6
QUOTIENT(0, 10)

// returns 0
QUOTIENT(45, 0)

// returns NaN

Did this page help you?