W3cubDocs

/Nushell

math sqrt for math

Returns the square root of the input number.

Signature

> math sqrt {flags}

Input/output types:

input output
list<number> list<number>
number number

Examples

Compute the square root of each number in a list

> [916] |math sqrt
╭───┬───╮
03
14
╰───┴───╯

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_sqrt.html