try this:

Code:
#include <default.c>
#include <stdio.h>

void main() {
	char cStr[256];
	int iDec = 100;
	sprintf(cStr, "%x", iDec);
	printf("dec %d in hex is 0x%s", iDec, cStr);
}




Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P