This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430I2041: msp430i2041

Part Number: MSP430I2041

Tool/software: Code Composer Studio

Dear all,

I would like to convert a float into string. For now, I just convert float to integer and use sprintf function.

 sprintf(randomstr, "%d", p_results_1);

I have used, "%g", and "%f", but it wouldn't work. 

Is their any way of achieving this?

Thanks.

Regards

Neal

**Attention** This is a public forum