LoLo 0 Newbie Poster

double prepaymentAmt = Double.valueOf(input_prepayment).doubleValue();

This is what I have and is not working:
String message =
String.format("Loan Amount:"+" "+fmat.format(loanAmount)+"\n"+
"Interest Rate:"+" "+ interestRate +" %% \n"+
"Term:"+" "+years+" years\n\n")+"\n"+
"Prepayment: "+" "\n";

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.