Integer Division Operator (\)

Office VBScript

Microsoft® Visual Basic® Scripting Edition \ Operator  Language Reference 
Version 1 

See Also


Description
Divides two numbers and returns an integer result.
Syntax
result = number1\number2

The \ operator syntax has these parts:

Part Description
result Any numeric variable.
number1 Any numeric expression.
number2 Any numeric expression.

Remarks
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.