Round down to nearest integer.
Section: Numbers and Math
Floor number
bash
bash
echo '3.9' | jq 'floor'Explanation
Useful for timestamps and bucketing.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Numbers and Math