Skip to content

Commit 496db27

Browse files
committed
Fixup
1 parent 5e4819b commit 496db27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tool/sdg/src/main/java/org/openscience/cdk/layout/IdentityTemplateLibrary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ static String encodeCoordinates(Point2d[] points) {
295295
for (Point2d point : points) {
296296
if (sb.length() > 2) sb.append(";");
297297
DecimalFormat fmt;
298-
sb.append(String.format(Locale.ROOT, "%.5f", point.x));
298+
sb.append(String.format(Locale.ROOT, "%.2f", point.x));
299299
sb.append(',');
300-
sb.append(String.format(Locale.ROOT, "%.5f", point.y));
300+
sb.append(String.format(Locale.ROOT, "%.2f", point.y));
301301
sb.append(',');
302302
}
303303
sb.append(")|");

0 commit comments

Comments
 (0)