Project

General

Profile

« Previous | Next » 

Revision 617f3dc9

Added by Andreas Kohlbecker over 5 years ago

ref #7639 removing custom decimal point, comma translation witch conflicts with locale specific number formats

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/util/converter/IntegerConverter.java
41 41
        }
42 42
        DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(locale);
43 43
        NumberFormat nf = NumberFormat.getNumberInstance(locale);
44
        String separator = symbols.getDecimalSeparator() + "";
45
        value = value.replaceAll("[.,;]", separator);
46 44
        try {
47 45
            return nf.parse(value).intValue();
48 46
        } catch (ParseException e){

Also available in: Unified diff