NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_bcd2dec.nxc

This is an example of how to use the bcd2dec function.

// convert binary-coded decimal byte to decimal.
byte dec = bcd2dec(0x3a);