Binary to decimal and decimal to binary conversions.