1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Add floor operator

This commit is contained in:
Nicolas Williams
2013-06-17 20:50:45 -05:00
parent 1d839ff9df
commit 7c4171d414
3 changed files with 17 additions and 0 deletions

View File

@@ -362,6 +362,10 @@ null
[5,6]
[1,2,3]
[.[]|floor]
[-1.1,1.1,1.9]
[-2, 1, 1]
def f(x): x | x; f([.], . + [42])
[1,2,3]
[[[1,2,3]]]