to_decimal

Function to_decimal 

Source
pub fn to_decimal(bcd: u8) -> u8
Expand description

Convert a BCD encoded byte to decimal First 4 bits are tens of the number Last 4 bits are ones of the number