Unary coding

Sometimes called ‘thermometer code’. A number is represented by a tally of digits. For example, converting conventional base-10 numbers into unary:
0 = 0,
1 = 10,
2 = 110,
3 = 1110,
4 = 11110

FBI Admin

About the Author

Fact Based Insight - helping business prepare for tomorrow