bc
FreeBSD/Linux
Command line calculator
bc -q
23.43 * 43.23
1012.87
quit
bc --mathlib -e "hex(123)" # convert number to hex
bc -S 7 -e "4/3*12+2" # seven decimal places
bc -q
23.43 * 43.23
1012.87
quit
bc --mathlib -e "hex(123)" # convert number to hex
bc -S 7 -e "4/3*12+2" # seven decimal places