sprintf / snprintf on an UNO does not support float. You can use the dtostrf() function to convert a float to text.