float to string question

I have a temperature sensor and a LCD on my RCM3360 system.
If I have a float called “float_num” with value of 25.4321,I want to convert it to a string “25.4321”

How can I do so?:confused:

I read thought the “Dynamic C Function Reference
Manual”

  1. ftoa seems to be the function I want,but it is not enough as the dot between 25 and 4321 is missing.How can I have a string of “25.4321”?

2.what can frexp do?The document is too short without example.I don’t understand it. :mad::mad:

Thanks a lot!!:slight_smile:

Use the C function sprintf(s_Temp,“%f”,f_Temp);

I have the same problem.

This forums are terrible, rarely I can find the answer I need, and the search automatically omits words… WTF!!

I agree. Forums aren’t much help. Who are helping us actually? Not the Rabbit development team?

Most of these types of forums are notorious for their lack of support from the manufacturer. The problem with this forum rather are the small user group, which limits the response size of this forum.

This forum is a place for engineers to exchange ideas and information. If you need immediate assistance, you should contact Rabbit Tech Support directly at support@rabbit.com

Yes I agree with Margaret, and I have had success with your support system. What I was trying to say was that most manufacturers’ forums is not the place where you will get support from the manufacturer.