Returns the square root of the specified number.
Sqr (number)
Number - (Input, expression, Required)
If a string is passed, it is first converted to numeric form. If a non-numeric value is passed, Error is returned. If the number is negative, the result is Error.
A floating point square-root of the specified number.
Sqr (0) |
Returns 0 |
Sqr (1) |
Returns 1 |
Sqr (2) |
Returns 1.414214 |
Sqr (“16.0”) |
Returns 4 |
Sqr (-9) |
Returns Error |
Sqr (Null) |
Returns Error |
Sqr (Error) |
Returns Error |
Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.
Abs function | Atn function | Cos function | Exp function | Fix function | Int function | Log function | Max function | Min function | Rnd function | Round function | Sgn function | Sin function | Sqr function | Tan function
© 2004-2021 looksoftware. All rights reserved.