mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Add sqrt operator
This commit is contained in:
@@ -633,6 +633,16 @@ sections:
|
||||
input: '3.14159'
|
||||
output: ['3']
|
||||
|
||||
- title: `sqrt`
|
||||
body: |
|
||||
|
||||
The `sqrt` function returns the square root of its numeric input.
|
||||
|
||||
examples:
|
||||
- program: 'sqrt'
|
||||
input: '9'
|
||||
output: ['3']
|
||||
|
||||
- title: `tonumber`
|
||||
body: |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user