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 (\)

Arithmetic Operators

Operator Precedence (VBScript)

Other Resources

Operator Summary (VBScript)