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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("convertBCD")

1.0 by Carl Witthoft, 2 years ago


Browse source code at https://github.com/cran/convertBCD


Authors: Carl Witthoft [aut, cre]


Documentation:   PDF Manual  


LGPL-3 license


Imports Rmpfr, gmp, methods


See at CRAN