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 gmail.com>
License: LGPL-3
NeedsCompilation: no
CRAN checks: convertBCD results

Documentation:

Reference manual: convertBCD.pdf

Downloads:

Package source: convertBCD_1.0.tar.gz
Windows binaries: r-devel: convertBCD_1.0.zip, r-release: convertBCD_1.0.zip, r-oldrel: convertBCD_1.0.zip
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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=convertBCD to link to this page.