39 = 100111
Many non-integral values, such as decimal 0.2, have an infinite place-value representation in binary (.001100110011...) but have a finite place-value in binary-coded decimal (0.0010)[bcd]. Consequently a system based on binary-coded decimal representations of decimal fractions avoids errors representing and calculating such values. Rounding at a decimal digit boundary is simpler in BCD. Addition and subtraction in decimal does not require rounding.
In Cobol, they had a serious concern for memory size. So they came up with a method known as BCD (Binary Coded Decimal), where a decimal value was converted to binary to save space. Check this link out. It will break down the details.
Decimal 181 in binary is 10110101
Binary 100 is 4 in decimal.
1001 in binary is equal to 9 in decimal.
Binary- 01100111 Decimal Value- 103
The binary values is 10110101.
Decimal (more formally, binary coded decimal) values store numeric information as digits encoded using the four bit binary equivalents: 0 (0000) to 9 (1001). That means a single byte can hold values between 0 and 99. But simply using the same byte to hold a binary value will yield values between 0 and 255 (or –128 and +127).
19
To provide the binary representation for "a," we first need to know that "a" is a character in the ASCII (American Standard Code for Information Interchange) encoding system. In ASCII, the character "a" is represented by the decimal value 97, which converts to binary as 01100001. Thus, the binary representation for "a" is 01100001.
The binary equivalent of the decimal number 192 is 11000000.
Binary(101) = Decimal(5).