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
Binary-coded decimal processors and databases, such as IBM DB2, mainframes, and Power6. In these products, the BCD is usually zoned BCD (as in EBCDIC or ASCII), Packed BCD (two decimal digits per byte), or "pure" BCD encoding (one decimal digit stored as BCD in the low four bits of each byte). All of these are used within hardware registers and processing units, and in software. To convert packed decimals in EBCDIC table unloads to readable numbers, you can use the OUTREC FIELDS mask of the JCL utility DFSORT. The Digital Equipment Corporation VAX-11 series includes instructions that can perform arithmetic directly on