次の方法で共有


Division Operator (/) (VBScript)

 

Divides two numbers and returns a floating-point result.

Syntax

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

Multiplication Operator (*) (VBScript)
Integer Division Operator (\)
Arithmetic Operators
Operator Precedence (VBScript)
Operator Summary (VBScript)