I'm debugging some code by dumping a number of variables into /say, float's don't display correctly.
Code:
entity_list.MessageClose(this, false, 200, MT_say, "someint is %d, somefloat is %d", someint, somefloat);//DEBUG
I've tried converting the float to an int in the output but it's not giving me the precision I need. Is there another parameter I should use instead of %d?