Sqr

Return the square root of a number.

Syntax
      Sqr(number)

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

The Sqr() function can be used in VBA or in an SQL query.

Examples

Dim intDemo as Integer
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:

Asc - The Ascii code of a character.


 
Copyright © SS64.com 1999-2019
Some rights reserved