1.

Which Opearator Can Be Used To Get The Modulus Of Two Numbers In Vbscript?

Answer»

MOD opeator is used to GET the modulus of two NUMBERS.

Example:

Dim a : a = 5
Dim B : b = 10
Dim c
c = b MOD a
Document.write ("Modulus Result is " &c)

MOD opeator is used to get the modulus of two numbers.

Example:

Dim a : a = 5
Dim b : b = 10
Dim c
c = b MOD a
Document.write ("Modulus Result is " &c)



Discussion

No Comment Found