In a computer, both integers and real numbers are represented by computer binary codes. The computer itself is not as intuitive as the human brain. It is obtained by adding, subtracting and shifting binary numbers through a calculator.
For example, if we say that 10 is a decimal number, it needs to be converted into binary number 1 100 in the computer.