#binarytodecimal #datarepresentation
Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary).
Binary Numbering System is the most fundamental numbering system in all digital and computer based systems and binary numbers follow the same set of rules as the decimal numbering system. But unlike the decimal system which uses powers of 10, the binary numbering system works on powers of 2.
It is considered of two values or states to represent a condition, a logic level “1” or a logic level “0”, and each “0” and “1” is considered to be a single digit or bit.
To convert a binary number into its equivalent decimal number, first we will write down the binary number. Then, starting with the least significant bit (LSB - the rightmost one), multiply the digit by the weightage of the position. continue doing this process until we reach the most significant digit (MSB - the leftmost one). Finally, add the results and we will get the decimal equivalent of the given binary number.