Number conversion: binary <=> decimal