1
0
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:
Michael Daines
2013-09-11 20:22:56 -04:00
parent d253414783
commit 82d8253c19
3 changed files with 25 additions and 0 deletions

View File

@@ -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: |