returns the square root of a number.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
the sqrt of number
# Params
- number : Any non-negative number, or an expression that evaluates to such a number.
# Examples
sqrt(9) -- returns 3
put sqrt(sideA^2 + sideB^2) into hypotenuseLength
# Description
The square root of a number is the number which must be squared to obtain number : sqrt(number)^2 is equal to number.
If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.
# Tags
math,
# See
- **operator:** [[^]] - **function:** exp, number - **glossary:** return, non-negative, math operation - **control structure:** function