Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
squigz
on Jan 11, 2024
|
parent
|
context
|
favorite
| on:
9999999999999999.0 – 9999999999999998.0
This is what I've had in my bashrc for a few years:
= () { printf "%'.f\n" $(echo $1 | bc); }; alias calc==
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
= () { printf "%'.f\n" $(echo $1 | bc); }; alias calc==