if i have a numbers like 163, 150,143 like this a three numbers how can I join them and form a hexa decimal number. please kindly reply
It's not clear to me how you convert the decimal into hex. Can you be more precise?
Here's my guess in the dark:
not like this. In my motor encoder the encoder will give the position as three decimal numbers of byte length one. so if it gives 150 , 160, 170. Then how can I get the original decimal number which it meant through these numbers. Please kindly help me.
i need it as a single number not like parts with commas as a single 64 bit decimal. Yoo understand I think
do you need your number as "163150143" ("single number not like parts with comma") or (as demonstrated above) as "10720911" after joining the bytes?
Yoo understand I think
Nope, you still doesn't give the expected result!
Again: WHAT IS THE EXPECTED RESULT?
The example I provided does exactly what you need, then.
it joins 3 single byte numbers into a 32 bits integer (adding a 0 high byte).
The join order may be wrong but can easily be fixed....
as like this
hexa decimal numbers corresponds to 50,000 the decimal number.
I need such a conversion. How we can do it
can you please reply
as has been shown to you by Marco you should try JoinNumbers for that task:
Your given numbers result in 49970, just a little bit off from your 50000. When there are different conversion rules you have to study your manual...