mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Document floor
This commit is contained in:
@@ -623,6 +623,16 @@ sections:
|
||||
input: 'null'
|
||||
output: ['[2,3]']
|
||||
|
||||
- title: `floor`
|
||||
body: |
|
||||
|
||||
The `floor` function returns the floor of its numeric input.
|
||||
|
||||
examples:
|
||||
- program: '.[] | tonumber'
|
||||
input: '[1, "1"]'
|
||||
output: [1, 1]
|
||||
|
||||
- title: `tonumber`
|
||||
body: |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user