io lo passavo al web così e funzionava bene
//--------------------------------Temperature---------------------------------------------------------------
#include <floatToString.h>
int campion=10;
float tempc1=0; // temperature variables
float tempc2=0; // temperature variables
float samples1[campion]; // variables to make a better precision
float samples2[campion]; // variables to make a better precision
for(ii = 0; ii <= campion-1 ; ii++)
{
samples1[ii] = (( 5.0 * analogRead(PinA1) * 100.0) / 1024.0);
tempc1 = tempc1 + samples1[ii];
samples2[ii] = (( 5.0 * analogRead(PinA2) * 100.0) / 1024.0);
tempc2 = tempc2 + samples2[ii];
}
tempc1 = tempc1/campion; // better precision
tempc2 = tempc2/campion; // better precision
char buffer1[10];
char buffer2[10]; // just give it plenty to write out any values
String stA1 (floatToString(buffer1, tempc1, 1)); //converto float in string
String stA2 (floatToString(buffer2, tempc2, 1)); //converto float in string
questa libreria potrebbe darti problemi su float troppo lunghi e/o complessi, ma per delle temperature va più che bene
ciao