Learn R Programming

convertBCD (version 1.0)

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.

Copy Link

Version

Install

install.packages('convertBCD')

Monthly Downloads

196

Version

1.0

License

LGPL-3

Maintainer

Carl Witthoft

Last Published

June 28th, 2024

Functions in convertBCD (1.0)

convertBCD-package

tools:::Rd_package_title("convertBCD")
bcd2dec

Function to convert binary-coded decimal (BCD) data to decimal form. ~~
dec2bcd

Convert decimal numbers to binary-coded decimal (BCD) form. ~~ ~~