I feel so embarrassed that we're not able to help more. Anyway, as a parting gift, try running this code. If you study it and learn how it works, it's the solution to you current problem.

public static void main(String args[]) throws Exception {
      
 String data = "1.5, 2.99, 3, 4000";
 String[] arrayOfTokens = data.split(",");
 for (String s : arrayOfTokens) {
    Double d = Double.parseDouble(s);
    System.out.println(d);
 }
}

Hey guys, I can solve the problem already. Thank you so much. I can move on to other errors now. (: