Convert numbers into 10-point buckets.
Section: Numbers and Math
Bucket numbers
bash
bash
echo '[3,14,27,39]' | jq 'map((./10 | floor) * 10)'Explanation
Common analytics-style transformation.
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