Division operator

Divides two numbers and returns a floating point or integer result. Uses the slash (/) operator.

result = number1/number2

Item Description
result Any numeric variable
number1 Any numeric expression
number2 Any numeric expression

The following table shows how the result is determined.

Expression 1 Expression 2 Result
integer integer integer
integer float float
float integer float