]> granicus.if.org Git - jq/commitdiff
Document floor
authorNicolas Williams <nico@cryptonector.com>
Wed, 19 Jun 2013 06:12:11 +0000 (01:12 -0500)
committerNicolas Williams <nico@cryptonector.com>
Fri, 21 Jun 2013 20:27:34 +0000 (15:27 -0500)
docs/content/3.manual/manual.yml

index daf3bd907800631c52c80f79ece739ff8101d96c..ea78dff8fb2f7e7b717a76915baf41d7b673517d 100644 (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: |