Decimal numbers that may be expressed as a fraction, the denominator of which is a power of ten. For example, the numerals formula_5 represent the fractions , , . More generally, a decimal with digits after the separator represents the fraction with denominator , whose numerator is the integer obtained by removing the separator. Expressed as a fully reduced fraction, the decimal numbers are those, whose denominator is a product of a power of 2 by a power of 5. Thus the smallest denominators of decimal numbers are The "integer part", or "integral part" of a decimal is the integer written
Decimal floating point more complicated. There are no cancellation or absorption problems with multiplication or division, though small errors may accumulate as operations are performed repeatedly. In practice, the way these operations are carried out in digital logic can be quite complex. Decimal floating point Decimal floating-point (DFP) arithmetic refers to both a representation and operations on decimal floating-point numbers. Working directly with decimal (base-10) fractions can avoid the rounding errors that otherwise typically occur when converting between decimal fractions (common in human-entered data, such as measurements or financial information) and binary (base-2) fractions. The advantage of decimal floating-point representation over decimal fixed-point