Reputation: 57
I have an html form which contains a String
which I need to convert into a double
. Then store it in an MS Access database. I tried using:
Double d = Double.parseDouble(String);
But it is throwing a NullpointerException. Can anyone explain why?
Upvotes: 0
Views: 1732