I am trying to convert a double from a max count of 1000 to infinity I have been asked by my tutor to do this but I can't find any information anywhere.
private static final double[][] orders = new double[1000][4]; // 1000 is the max orders for the day
private static int orderCount = 0;