Posté le 20/12/2017 à 15:14 Membre depuis le 02/09/2008, 80 messages
Hi,

I wish to show debug value on screen. I have no problem with int and string.

void log_int(short x, short y, int val)
{
	fixPrintf(x,y,0,0,"%04d",val);	
}

void log_str(short x, short y, char *txt)
{
	fixPrintf(x,y,0,0,"%0s",txt);	
}

But I wish to display float/double value. I know I must use FIXED integer point for speed but can we fixprintf float value ?