convertBCD: Convert Decimal to Binary-Coded Decimal (BCD) Form and Vice Versa

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.

Version: 1.0
Imports: Rmpfr, gmp, methods
Published: 2024-06-28
DOI: 10.32614/CRAN.package.convertBCD
Author: Carl Witthoft [aut, cre]
Maintainer: Carl Witthoft <cellocgw at>
License: LGPL-3
NeedsCompilation: no
CRAN checks: convertBCD results


Reference manual: convertBCD.pdf


Package source: convertBCD_1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): convertBCD_1.0.tgz, r-oldrel (arm64): convertBCD_1.0.tgz, r-release (x86_64): convertBCD_1.0.tgz, r-oldrel (x86_64): convertBCD_1.0.tgz


Please use the canonical form to link to this page.