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:
		@@ -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]]]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user