Gnu bc calculator

Sometime ago at work I needed to perform some calculations, and a co-worker showed me how to work with GNU bc: a powerful command line calculator. Now I’ve found a great tutorial for it, that I wanted to share in here.

I make a special note regarding the following: by default bc perform integer divisions. To override that behaviour, use the ‘-l’ option, or set the scale variable according to your preferences (that variable basically says how many numbers you want after the dot…)

Os comentários estão fechados.