Why not just use dbStr()?
It will convert a float or an int to a string.
Example:
float foo = 3;
dbText(0, 0, dbStr(foo));
Or if you want to combine everything into one string and not use dbStr(), use printf() like the puppy of kosh.
Example:
float x = 5, y = 10, z = 20;
int i = 100;
char sz_str[256];
sprintf(sz_str, "X = %f\r\nY = %f\r\nZ = %f\r\nI = %d", x, y, z, i);
dbText(0, 0, sz_str);
You can search google for everything that sprintf() can convert to a string. For example, it will replace the first '%d' in the format string with the double or integer form of the first parameter.
#ifdef _DEBUG
FixBugs(All);
#endif