How can we convert float value to string value

976 Views Asked by At

I am trying to convert float value to string. For that i used 'ftoa' but it shows error like 'undefined reference to ftoa()'.Also i used 'gcvt()' instead of ftoa but not working.Any suggestion please?

Thanks.

2

There are 2 best solutions below

0
Realtime Rik On

You could use sprintf. Not very efficient though.

0
0___________ On