decimal value
0.fromBCD().shouldEqual(0); (0x22).fromBCD().shouldEqual(22); (34).fromBCD().shouldEqual(22); // 17bcd (0b0001_0111).fromBCD().shouldEqual(17); 295.fromBCD().shouldEqual(127); 39_321.fromBCD().shouldEqual(9_999); (0x9999).fromBCD().shouldEqual(9_999);
Converts BCD value into decimal format