Parsing string to double - java
For a project I have a program that is like a bank. The "bank" reads in a file with accounts in it that look like this: Miller William 00001 891692 06 <----string that needs to be converted to double The last string has to be converted to a double so that the program can perform calculations on it like addition and subtraction, etc. And also I have to print it out in monetary format, i.e. $891692.06 I have this so far: public class Account { private String firstName, lastName; private int accountID; private String currentBalance; private static int maxAccountID; public Account(String fN,