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

Document floor

This commit is contained in:
Nicolas Williams
2013-06-19 01:12:11 -05:00
parent 7c4171d414
commit 3dcdc582ea

View File

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