Return the square root of a given number.
This function does not generate a change.
sqrt(number)
Argument | Type | Description |
---|---|---|
number | int/float (required) | Input number, must be >= 0. |
Returns with a float or a value_err() on negative input number.
sqrt() function example:
`The square root of 2 is {sqrt(2)}`
Return value in JSON format
"The square root of 2 is 1.41421"