Gray Code to Decimal

Convert Gray code (reflected binary) back to decimal numbers.

How to use:
Ad Slot — Top Banner
// decoding gray code
To convert Gray code to binary:
1. First bit stays the same
2. Each next bit = previous binary bit XOR current gray bit

Then convert the resulting binary to decimal.
Ad Slot — In-Content
Ad Slot — Bottom Banner