Description
Division is one of the four primary arithmetic operations. The operator /
(slash) operates on two operands to produce the result.
Syntax
result = numerator / denominator;
Parameters
result
: variable. Allowed data types: int, float, double, byte, short, long
numerator
: variable or constant. Allowed data types: int, float, double, byte, short, long
denominator
: non zero variable or constant. Allowed data types: int, float, double, byte, short, long