View Source Bcd (bcd v1.0.0)

Documentation for Bcd.

Link to this section Summary

Functions

Deocodes a given bitstring in BCD notation to an integer

Encodes a given integer in BCD encoding

Link to this section Functions

@spec decode(bitstring()) :: integer()

Deocodes a given bitstring in BCD notation to an integer

@spec encode(integer()) :: bitstring()

Encodes a given integer in BCD encoding