Is there a Win32 function that'll format floating-point values? I use wsprintf() all the time*, but it only handles integer values.
When I need printable representations of FP values, I use Raymond's library (specifically, FpFLtoA() ).
* I probably shouldn't be using this function, as it's not "safe" (can be used to hack code via buffer overruns), but since I'm not creating "production" code that anyone else is gonna use, it's not much of a problem ...