06-20-2011 03:51 PM
Hello,
I have a hexadecimal string with value as 0080F401F9AE. I need to convert this string value as hexadecimal number and incremennt by one. So i should get 0080F401F9AF as the answer in the output string value. Please can I know how to implement this increment and also conversion.
Thank you.
Solved! Go to Solution.
06-20-2011 03:57 PM - edited 06-20-2011 03:58 PM
The String palette has numerous string to number conversion functions. In your case you'd want the Hexadecimal String to Number function. Since you are dealing with a 64-bit value you want to make sure to wire a constant that is U64 to set the number's bit length. Then you can just add 1 to the number.
06-20-2011 04:00 PM
Like this?
(see attached)