mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-31 14:00:54 +07:00
16 lines
328 B
Java
16 lines
328 B
Java
class C {
|
|
private static String toString(float... x) {
|
|
String ret = null;
|
|
for (float v : x) {
|
|
String s = String.format("%f", v);
|
|
String substr = s.substring(s.length() - 9);
|
|
if (ret == null) {
|
|
ret = substr;
|
|
}
|
|
else {
|
|
ret += "," + substr;
|
|
}
|
|
}
|
|
return ret;
|
|
}
|
|
} |