Related topics
Bc (programming language)
bc is an arbitrary-precisionmathematicalcalculatorprogram with an input language similar to C. It supports both interactive, command-lineuser-interface and script processing. OverviewA typical interactive usage is typing the command bc on a Unixcommand prompt and entering a mathematical expression, such as (1 + 3) * 2, whereupon 8 will be output. While bc can work with arbitrary precision, it defaults to zero digits after the decimal point, so the expression 2/3 yields 0 (results are truncated, not rounded).
*As an Amazon Associate I earn from qualifying purchases.