convert byte to decimal arduino - joymariemitchell. Converting between decimal and binary-coded-decimal (BCD) Posted on 3 by admin When tinkering with Arduinos, you’re going to come across quite a number of components that provide data out – or require data in – Binary Coded Decimal (BCD for short). Convert byte to decimal arduino // For larger/longer values, change 'byte' to 'unsigned int' or 'long' for the decValue parameter.