Used to divide two numbers and return a floating-point result.
result = number1 / number2 |
The + operator syntax has these parts:
Part | Description |
result | Required; any numeric variable. |
number1 | Required; any numeric expression. |
number2 | Required; any numeric expression. |
The data type of result is usually a Double or a Double variant. The following are exceptions to this rule:
If | Then result is |
Both expressions are Byte variants, | a Byte variant unless it overflows its legal range; in which case, result is a Variant containing a Integer. |
Both expressions are Integer variants, | a Integer variant unless it overflows its legal range; in which case, result is a Variant containing a Long. |
Both expressions are Long, Single variants, | a Long, Single variant unless it overflows its legal range; in which case, result is a Variant containing a Double. |
If one expressions are Null or Empty expressions, result is 0.
Dim MyValue |
See Also |
Operators |