Syntax |
expression1 / expression2 |
||
Description |
Returns the quotient of expression1 and expression2. |
||
Comments |
The type of the result is Double, with the following exceptions: |
||
|
If one |
and the other |
then the type |
|
Integer |
Integer |
Single |
|
Single |
Single |
Single |
|
Boolean |
Boolean |
Single |
|
A runtime error is generated if the result overflows its legal range. When either or both expressions is Variant, then the following additional rules apply:
|
||
Example |
This example assigns values to two variables and their quotient to a third variable, then displays the result. Sub Main() |
||
See Also |
\ (operator): Operator Precedence (topic) |
Symbols |