Arithmetic Operators in Vb Script - TestingQ.com

-->Exclusive Portal for Testing Jobs

Arithmetic Operators in Vb Script

Arithmetic Operators:
When you want to perform addition, subtraction, multiplication, and other mathematical operations on numbers and variables use the operators listed below.

 Operator
    Name
  Example
 Result
     +
     Add
    8+7
   15
     -
  Subtract
   11-10
    1
     *
  Multiply
    7*8
   56
     /
   Divide
    8/2
    4
     ^
  Exponent
    2^4
   16
   Mod
  Modulus
 15 Mod 10
    5

No comments:

Post a Comment