Share via


Division Operator (/)

Divides the value of two expressions.

number1 / number2

Arguments

  • number1
    Any numeric expression.

  • number2
    Any numeric expression.

Remarks

If number1 is a finite, non-zero number, and number2 is zero, the result of the division is Infinity if the number1 is positive, and -Infinity if negative. If both number1 and number2 are zero, the result is NaN.

Requirements

Version 1

See Also

Concepts

Operator Precedence

Operator Summary

Reference

Division Assignment Operator (/=)