How do I write the codes for the following:
StringTokenizer arrival = new StringTokenizer(arrival_note);
arr_id = arrival.nextToken();
arr_time=arrival.nextToken();
arr_id and arr_time are two variables that are of double data type.
How do I convert the arrival.nextToken to a double data type?
StringTokenizer arrival = new StringTokenizer(arrival_note);
arr_id = arrival.nextToken();
arr_time=arrival.nextToken();
arr_id and arr_time are two variables that are of double data type.
How do I convert the arrival.nextToken to a double data type?