OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 65 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 65 Rev 174
Line 61... Line 61...
61
                    sb.append(formatNumberOrScientificNumber(elem, n, multiplier, defaultStyle));
61
                    sb.append(formatNumberOrScientificNumber(elem, n, multiplier, defaultStyle));
62
                } else if (elem.getName().equals("currency-symbol")) {
62
                } else if (elem.getName().equals("currency-symbol")) {
63
                    if (elem.getTextTrim().length() > 0) {
63
                    if (elem.getTextTrim().length() > 0) {
64
                        sb.append(elem.getText());
64
                        sb.append(elem.getText());
65
                    } else {
65
                    } else {
66
                        sb.append(new DecimalFormatSymbols(DateStyle.getLocale(elem)).getCurrencySymbol());
66
                        sb.append(new DecimalFormatSymbols(this.getLocale(elem)).getCurrencySymbol());
67
                    }
67
                    }
68
                }
68
                }
69
            }
69
            }
70
        }
70
        }
71
        return sb.toString();
71
        return sb.toString();