Notifications
Announcements
No record found.
Can anyone give me the job code for Converting String to Hexadecimal?
pleaseeeee
*This post is locked for comments
You have a generic question so I will provide a generic answer, which might not fit your original question:
msdn.microsoft.com/.../retailutils.str2hex.aspx
I will explain why you should stop doing one-liner requests.
First of all, it is frustrating that each time we need to request additional details from you.
Secondly, a string to hex conversion could be any of the following:
Since AX supports .Net namespaces, you have about 10 different tools for doing such conversions. If you would google/bing this with with C# tag, you could use almost all results except Linq.
Sorry Made a Mistake I need code for converting STRING TO DECIMAL
If you would give more detaild explanations on what you are trying to solve, you would make less mistakes.
msdn.microsoft.com/.../aa845181.aspx
Or you could do C#-style with System.Int32::Parse('1234');
https://msdn.microsoft.com/en-us/library/b3h1hf19(v=vs.110).aspx
Can you please make sure you tick the checkboxes for helpful answers next to each post, so the topic gets resolved? Thank you.
yes I do that .. but only to Answers that actually help
If you do not provide clear enough description of your problems/requirements, change the topic halfway through the discussion and do not provide feedback on what you have tried, what worked and what did not, it is very hard to actually help.
yasu, you didn't react to Vilmo's suggested answer, therefore nobody knew that it didn't help you and what problem did you have with. Don't be surprised that you don't get any solutions if you don't tell us about your problem.
If you still need an answer, please explain why you find the suggested answer unsatisfactory, so we can tell you something more. If you changed your mind and you're not interested in the answer anymore, please say it, so it's clear that nobody should waste time with this thread anymore.
OK sir .... lets Finish this thread .....
You have very detailed answers for both string->hexadecimal and string->decimal conversions using multiple ways. Make sure you take your time to review them and mark it as a solution.
Well thanks anyway .... The answer that I was looking for was the Hex2Int method ........
I dont know how to close this thread
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2