Sorry if this is a super noob question.
From what I have read it seems I can’t store a double in an array. Is there some work around that I can use ? That will allow me to get the values into the array without changing the values. I would also need to compare against an external variables stored as doubles.
If using an
ArrayListyou have to use the classDoubleinstead of primitive typedoubleor use a simple array