Syntax |
expression1 \ expression2 |
Description |
Returns the integer division of expression1 and expression2. |
Comments |
Before the integer division is performed, each expression is converted to the data type of the most precise expression. If the type of the expressions is either Single, Double, Date, or Currency, then each is rounded to Long. If either expression is a Variant, then the following additional rules apply:
|
Example |
This example assigns the quotient of two literals to a variable and displays the result. Sub Main() |
See Also |
/ (operator); Operator Precedence (Topic) |
Symbols |