Conversion Decimal to HEX and HEX to Decimal F
Archiver
Posts: 46,084
Suppose your initial value is 10 (decimal, the normal quantity of
fingers per person). Suppose further that your arithmetic is simply
1.5 * the initial value, so that the result is (decimal, again) 15.
To clarify your requirement, can you pls express the initial 10, the
result 15, and the transmitted form of the result as 8-bit bytes
(one or more)? For instance, using the quantities above:
initial: 0001010 (the quantity 10)
result: 00001111 (the quantity 15)
transmitted result: 00110001 00110101 (ASCII "15")
Is this what you want? If not, could you modify the above to show
what you do want?
Regards,
Steve
fingers per person). Suppose further that your arithmetic is simply
1.5 * the initial value, so that the result is (decimal, again) 15.
To clarify your requirement, can you pls express the initial 10, the
result 15, and the transmitted form of the result as 8-bit bytes
(one or more)? For instance, using the quantities above:
initial: 0001010 (the quantity 10)
result: 00001111 (the quantity 15)
transmitted result: 00110001 00110101 (ASCII "15")
Is this what you want? If not, could you modify the above to show
what you do want?
Regards,
Steve