1.

How will you get the absolute value of the given number in VBScript?

Answer»

Using Abs function, which returns the absolute value of the given number.

Example −

Dim num : num = -645.998651document.write("Abs Result of num is : " & Abs(num))& "<br/>" '645.998651


Discussion

No Comment Found