Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript Sqr function


May 13, 2021 VBScript


Table of contents


VBScript Sqr function

The VBScript Sqr function is used to return the square root of the number, and this section explains the use of the function.


VBScript Sqr function Complete VBScript reference manual

The Sqr function returns the square root of a number.

Note: The number parameter cannot be negative.

Grammar

Sqr(number)

parameter describe
number Required.More than 0 effective numerical expressions.
<script type="text/vbscript">

document.write(Sqr(9) & "<br />")
document.write(Sqr(0) & "<br />")
document.write(Sqr(47))

</script>

The above example output results:

3
0
6.85565460040104

Try it out . . .

VBScript Sqr function Complete VBScript reference manual