File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/gridsuite/securityanalysis/server/dto Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99import org .gridsuite .securityanalysis .server .entities .AbstractLimitViolationEntity ;
1010import org .gridsuite .securityanalysis .server .util .CsvExportUtils ;
1111
12- import java .text .DecimalFormat ;
12+ import java .text .NumberFormat ;
1313import java .util .ArrayList ;
1414import java .util .List ;
1515import java .util .Locale ;
@@ -45,7 +45,7 @@ public static LimitViolationDTO toDto(AbstractLimitViolationEntity limitViolatio
4545 }
4646
4747 private static String convertDoubleToLocale (Double value , String language ) {
48- return DecimalFormat .getInstance (language != null && language .equals ("fr" ) ? Locale .FRENCH : Locale .US ).format (value );
48+ return NumberFormat .getInstance (language != null && language .equals ("fr" ) ? Locale .FRENCH : Locale .US ).format (value );
4949 }
5050
5151 public List <String > toCsvRow (Map <String , String > translations , String language ) {
You can’t perform that action at this time.
0 commit comments