bc: Numbers

1 
1 2.1 Numbers
1 ===========
1 
1 The most basic element in 'bc' is the number.  Numbers are arbitrary
1 precision numbers.  This precision is both in the integer part and the
1 fractional part.  All numbers are represented internally in decimal and
1 all computation is done in decimal.  (This version truncates results
1 from divide and multiply operations.)  There are two attributes of
1 numbers, the length and the scale.  The length is the total number of
1 digits used by 'bc' to represent a number and the scale is the total
1 number of decimal digits after the decimal point.  For example, .000001
1 has a length of 6 and scale of 6, while 1935.000 has a length of 7 and a
1 scale of 3.
1