1.

How will you get the square root of the given number in VBScript?

Answer»

Using Sqr function, which returns the square root of the given number.

Example −

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


Discussion

No Comment Found