dxw00d:
Are you using the SD library? According to the File.println() reference page (SD - Arduino Reference), it doesn't support floating point numbers:
data (optional): the data to print (char, byte, int, long, or string)
fmpc001:
After reviewing floattostring.h threads the suggested method is to use:
String tempC = dtostrf(celsius, 10, 2, 10);
Why would the suggested method be something that is wrong?
The parameters for dtostrf says that the last argument is a character-buffer. You passed a 10. The compiler is telling you that it expected the last argument to be a character array.