]> granicus.if.org Git - jq/commitdiff
Fix example in manual for `floor`. See #155.
authorStephen Dolan <mu@netsoc.tcd.ie>
Sat, 22 Jun 2013 11:17:28 +0000 (12:17 +0100)
committerStephen Dolan <mu@netsoc.tcd.ie>
Sat, 22 Jun 2013 11:17:28 +0000 (12:17 +0100)
docs/content/3.manual/manual.yml

index ea78dff8fb2f7e7b717a76915baf41d7b673517d..8f91e3811940683e5e2c7afe82b092a623b0f2ee 100644 (file)
@@ -629,9 +629,9 @@ sections:
           The `floor` function returns the floor of its numeric input.
 
         examples:
-          - program: '.[] | tonumber'
-            input: '[1, "1"]'
-            output: [1, 1]
+          - program: 'floor'
+            input: '3.14159'
+            output: ['3']
             
       - title: `tonumber`
         body: |