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 = -210
document.write("Sqr Result of num is : " & Sqr(num))& "<br/>" '14.4913767461894

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

Example:

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



Discussion

No Comment Found