Best way to convert float to String?

OK thanks guys! 2 follow up questions on that method:

  1. I saw using sprintf as an option in another post, but also saw that sprintf(%f) had been removed from the photon’s system firmware. Looks like this was an older version (0.4.0) though… do you know if that has been since fixed?

  2. Just out of curiosity, does using the (String)voltage cast like I posted actually work? Or would that yield strange behavior over time?