bc

Arbitrary-precision arithmetic language and calculator.

Note that you must do a quit expression to exit from bc in a one-shot calculation.

bc -e "24*60*60" -e quit

References