VBScript Sqr Function
Complete VBScript Reference
The Sqr function returns the square root of a number.
Note: The number parameter cannot be a negative value.
Syntax
| Parameter |
Description |
| number |
Required. A valid numeric expression >= 0 |
Example 1
document.write(Sqr(9))
Output:
3
|
Example 2
document.write(Sqr(0))
Output:
0
|
Example 3
document.write(Sqr(47))
Output:
6.85565460040104
|
Complete VBScript Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|