Share via


Division Operator (/) (VBScript) 

Divides two numbers and returns a floating-point result.


result = number1/number2

Arguments

  • result
    Any numeric variable.
  • number1
    Any numeric expression.
  • number2
    Any numeric expression.

Remarks

If one or both expressions are Null expressions, result is Null. Any expression that is Empty is treated as 0.

Requirements

Version 1

See Also

Reference

Multiplication Operator (*) (VBScript)
Integer Division Operator (\)
Operator Precedence (VBScript)

Concepts

Arithmetic Operators

Other Resources

Operator Summary (VBScript)