Convert Decimal to Binary-Coded Decimal (BCD) Form and Vice
Versa
Description
Convert BCD (raw bytes) to decimal numbers and vice versa. BCD format is used to preserve decimals exactly, as opposed to the binary rounding errors inherent in "numeric" or "floating-point" formats.