if (NaN(somma) )
{
alert("ERRORE: non è un numero!");
}