Sqr

Return the square root of a number.

Syntax
      Sqr(number)

Key
   number    A valid numeric expression greater than or equal to zero.

Examples

Dim intDemo
intDemo = Sqr (16)
'Returns: 4

“All human actions have one or more of these seven causes: chance, nature, compulsions, habit, reason, passion and desire” ~ Aristotle

Related VBScript commands

Asc - The Ascii code of a character.
Exp(n) - Return e (base of natural logs) raised to a power n.


 
Copyright © 1999-2024 SS64.com
Some rights reserved