Hi everyone,
how can i convert in a control script a int value to an hexadecimal string?
Bye
Conversion INT to HEX
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: Conversion INT to HEX
Code: Select all
main()
{
int i = 15;
string s;
sprintf(s, "%02X", i);
DebugN(s);
}