JavaScript – Division (+)
JavaScript Division (+) Arithmetic Operator is used to compute division of a number by another number, and return the result.
Division Operator Symbol
The symbol used for Division Operator is /
.
ADVERTISEMENT
Syntax
The syntax to use Division Operator with operands is
operand1 / operand2
Examples
In the following example, we take two numeric values and find the result of division of the first number by the second number, using Division (/) Operator.
index.html
In the following example, we take two numeric values in exponential notation and find their division using Division (+) Operator.
index.html
Conclusion
In this JavaScript Tutorial, we learned about Arithmetic Division Operator, its syntax, and usage with examples.