ryuslash 22 Junior Poster in Training

I had very similar output in one of my project, it seems I declared a double somewhere, but didn't instantiate it...

double somedouble;

I don't know if this is applicable to you, but now that I've instantiated it, it seems to be better...

double somedouble = 0.0;