Visual Basic Scripting Edition
Integer Division Operator (\)

Updated: September 2009

Divides two numbers and returns an integer result.

result = number1\number2
Arguments

result

Any numeric variable.

number1

Any numeric expression.

number2

Any numeric expression.

Remarks

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.

Requirements

Version 1

See Also

Concepts

Reference

Other Resources

Change History

Date

History

Reason

September 2009

Added information to Remarks.

Information enhancement.

Tags :


Page view tracker