Integer Division Operator (\)

Updated: September 2009

Divides two numbers and returns an integer result.

result = number1\number2

result

Any numeric variable.

number1

Any numeric expression.

number2

Any numeric expression.

The result is the integer quotient of number1 divided by number2. The integer quotient discards any remainder and retains only the integer portion.

Before division is performed, numeric expressions are rounded to Byte, Integer, or Long subtype expressions.

If any expression is Null, result is also Null. Any expression that is Empty is treated as 0.

For information about obtaining the remainder, see Mod Operator.

The Division operator (/) returns the full quotient, retaining the remainder in the fractional portion.

Date

History

Reason

September 2009

Added information to Remarks.

Information enhancement.

Community Additions

Show: