sqrt()
Learn how to use the sqrt() function to return the square root of the input,
Returns the square root of the input.
Syntax
sqrt(number)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| number | int, long, or real | ✔️ | The number for which to calculate the square root. |
Returns
- A positive number such that
sqrt(x) * sqrt(x) == x nullif the argument is negative or can’t be converted to arealvalue.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.