Ver originalNumberFormat nf = NumberFormat.getInstance(Locale.US);float x = nf.parse(s).floatValue();