Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Sqr Function

VBScript Sqr Function


VBScript reference manual Complete VBScript Reference Manual


The Sqr function returns the square root of a number.

**Note:** The number parameter cannot be negative.

Syntax

Sqr(number)

Parameters Description
number Required. A valid numeric expression greater than 0.

Example

Example

The example above produces the following output:

3

0

6.85565460040104

Try it »


VBScript reference manual Complete VBScript Reference Manual