File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
storage/ctab/src/main/java/org/openscience/cdk/io Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 5353import java .io .Writer ;
5454import java .nio .charset .StandardCharsets ;
5555import java .text .DecimalFormat ;
56+ import java .text .DecimalFormatSymbols ;
5657import java .text .SimpleDateFormat ;
5758import java .util .ArrayList ;
5859import java .util .Collection ;
@@ -777,7 +778,7 @@ public void close() throws IOException {
777778 */
778779 private static final class V30LineWriter implements Closeable {
779780 // note: non-static
780- private final DecimalFormat decimalFmt = new DecimalFormat ("#.#####" );
781+ private final DecimalFormat decimalFmt = new DecimalFormat ("#.#####" , DecimalFormatSymbols . getInstance ( Locale . ROOT ) );
781782 public static final String PREFIX = "M V30 " ;
782783 public static final int LIMIT = 78 ; // -\n takes two chars (80 total)
783784
You can’t perform that action at this time.
0 commit comments