# Result

The decoded Hex

### Hex numbers, or “hexadecimal”, to utilize its complete name, is base 16. It utilizes 16 unmistakable characters to check.

for example 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, or more the letters A, B, C, D, E, F.

Putting these numbers next to each other, we can find out about how to change the most essential of decimal numbers over to hex:

Seeing decimal and hex numbers together this way, we can undoubtedly see that 10 in decimal is equivalent to An in hex, and 15 in decimal is F in hex.

## Transformation from Decimal to Hexadecimal number framework

There are different immediate or circuitous techniques to change over a decimal number into hexadecimal number. In a roundabout strategy, you need to change over a decimal number into other number framework (e.g., double or octal), then, at that point you can change over into hexadecimal number by utilizing gathering from paired number framework and changing over each octal digit into parallel then, at that point gathering and convert these into hexadecimal number.

### (a) Converting with Remainders (For whole number part)

This is a clear technique which include isolating the number to be changed over. Let decimal number is N then, at that point partition this number from 16 since base of hexadecimal number framework is 16. Note down the worth of remaining portion, which will be: 0 to 15 (supplant 10, 11, 12, 13, 14, 15 by A, B, C, D, E, F separately). Again partition staying decimal number till it became 0 and note each rest of each progression. Then, at that point compose leftovers from base to up (or in turn around request), which will be comparable hexadecimal number of given decimal number. This is technique for changing over a whole number decimal number, calculation is given beneath.

Accept decimal number as profit.

Separation this number by (16 is base of hexadecimal so divisor here).

Store the rest of a cluster (it will be: 0 to 15 due to divisor 16, supplant 10, 11, 12, 13, 14, 15 by A, B, C, D, E, F individually).

Rehash the over two stages until the number is more noteworthy than nothing.

Print the cluster backward request (which will be identical hexadecimal number of given decimal number).

Note that profit (here given decimal number) is the number being separated, the divisor (here base of hexadecimal, i.e., 16) in the number by which the profit is isolated, and remainder (staying partitioned decimal number) is the aftereffect of the division.

### (b) Converting with Remainders (For fragmentary part)

Let decimal fragmentary part is M then duplicate this number from 16 since base of hexadecimal number framework is 16. Note down the worth of whole number part, which will be − 0 to 15 (supplant 10, 11, 12, 13, 14, 15 by A, B, C, D, E, F separately). Again duplicate leftover decimal partial number till it became 0 and note each number piece of consequence of each progression. Then, at that point compose noted consequences of number part, which will be identical portion hexadecimal number of given decimal number. This is methodology for changing over a partial decimal number, calculation is given underneath.

Accept decimal number as multiplicand.

Various this number by (16 is base of hexadecimal so multiplier here).

Store the worth of whole number piece of result in an exhibit (it will be: 0 to 15, in view of multiplier 16, supplant 10, 11, 12, 13, 14, 15 by A, B, C, D, E, F individually).

Rehash the over two stages until the number became zero.

Print the exhibit (which will be identical partial hexadecimal number of given decimal fragmentary number).

Note that a multiplicand (here decimal partial number) is that to be duplicated by multiplier (here base of hexadecimal, i.e., 16)