LinuxSay - A Discussion Forum for Linux Enthusiasts

How to Use GNU bc (Basic Calculator) in Linux

bc ( Basic Calculator ) is a command-line utility that offers everything you expect from a simple scientific or financial calculator. It is a language that supports arbitrary precision numbers with interactive execution of statements and it has a syntax similar to that of C programming language.

Originally Published at https://www.tecmint.com/bc-command-examples/