ushort in BCD format
decimal value
1 assert(0.fromBCD() == 0); 2 assert((0x22).fromBCD() == 22); 3 assert((34).fromBCD() == 22); 4 // 17bcd 5 assert((0b0001_0111).fromBCD() == 17); 6 assert(295.fromBCD() == 127); 7 assert(39_321.fromBCD() == 9_999); 8 assert((0x9999).fromBCD() == 9_999);
Converts BCD value into decimal format