I am playing with NumberFormat, but somehow I cant get a e.g. "12.34" into a Number.
What I do:
NumberFormat nf = NumberFormat.getInstance();
try {
return nf.parse(inputString);
} catch (ParseException e) {
return null;
}
When I give it "34.45", 3445 comes out.