convertBCD-package {convertBCD}R Documentation

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.

Details

The DESCRIPTION file:

Package: convertBCD
Type: Package
Title: Convert Decimal to Binary-Coded Decimal (BCD) Form and Vice Versa
Version: 1.0
Date: 2024-06-24
Authors@R: c(person(given = "Carl", family = "Witthoft", role = c("aut","cre"), email= "cellocgw@gmail.com"))
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.
License: LGPL-3
LazyData: FALSE
Imports: Rmpfr, gmp, methods
Author: Carl Witthoft [aut, cre]
Maintainer: Carl Witthoft <cellocgw@gmail.com>

Author(s)

Carl Witthoft [aut, cre]

Maintainer: Carl Witthoft <cellocgw@gmail.com>


[Package convertBCD version 1.0 Index]