Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
How to set hex as a string?
I have tried it with format, but it always outputs **!!+*
Posts: 388
Threads: 4
Joined: Aug 2008
Reputation:
0
Did you used %x character when you tried to format it?
Posts: 388
Threads: 4
Joined: Aug 2008
Reputation:
0
Strange. Can you show that part of code?
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
format(string, 32, "%x", 0xFF9900AA);
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
Surprisingly it worked, but that's not what I needed.
For someone that has any knowledge about this, is there any way to make this work including those alpha numbers?
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
not exactly what I needed, but thanks for the response.