fake chunk packet
aliases
cfi wip
This commit is contained in:
Jesse Boyd
2019-10-30 12:26:52 +01:00
parent 8356004ec9
commit 72951cdf23
33 changed files with 704 additions and 286 deletions

View File

@ -59,8 +59,8 @@ public class StringMan {
}
public static String prettyFormat(double d) {
if (d == Double.MIN_VALUE) return "-∞";
if (d == Double.MAX_VALUE) return "";
if (d == Double.MIN_VALUE || d == Double.NEGATIVE_INFINITY) return "-∞";
if (d == Double.MAX_VALUE || d == Double.POSITIVE_INFINITY) return "";
if(d == (long) d) return String.format("%d",(long)d);
else return String.format("%s",d);
}