ti serve double perchè hai dei numeri con i decimali? se non è cosi prova a farla di tipo long. Dovrebbe tenere più numeri.