"By default bc outputs its result with no digits to the right of
the decimal point and without a decimal point. To change this you
have to change one of bc's builtin variables: scale. This is where
the "language" features of bc are relevant, in bc as in C
statements are separated by semi-colons."
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.