How to safely and reasonably convert a float or double to string or char array?

alirezasafdari:
Correction to my suggested dtostrf
eturns the pointer to the converted string s. (this is used for sprintf and keep it compatible with what we have)

You are making SUCH a big deal out of a VERY trivial thing.

And, any version of "dtostrf" does not need to be used with "sprintf". It already returns the formatted string (in a buffer of sufficient size that you have to supply - I hope you know).

As far as a "guide" being available to mod your IDE... all the information is in the post. I said which java source files are changed and what the changes are.

If I need to go into more detail than that (for example, how to re-compile the whole IDE) then I suggest not even trying.