Hello;
I have a float in the variable
float x_lab;
I need to convert this value to a string and store the string as a variable for later use. The precision needs to be to two decimal places .. positive or negative values could be in x_lab. And x_lab may change and be output through the string later in the program. I must convert to a string, b/c i will actually be passing the string to an openGL call.
Please help. I need the fastest and simplest way to do this
Thanks