We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2435a01 commit b55794dCopy full SHA for b55794d
brut.apktool/apktool-lib/src/main/java/brut/androlib/res/table/value/ResPrimitive.java
@@ -21,6 +21,7 @@
21
import org.xmlpull.v1.XmlSerializer;
22
23
import java.io.IOException;
24
+import java.util.Locale;
25
import java.util.Objects;
26
import java.util.Set;
27
import java.util.logging.Logger;
@@ -157,7 +158,7 @@ public String toXmlTextValue() {
157
158
private static String floatToString(float value) {
159
// Use one decimal to show it's a float for exact integers.
160
if (value == (long) value) {
- return String.format("%.1f", value);
161
+ return String.format(Locale.ROOT, "%.1f", value);
162
}
163
// Use Java's default minimal string representation.
164
return Float.toString(value);
0 commit comments