This commit is contained in:
boy0001 2015-08-12 16:08:26 +10:00
parent a80ac4004f
commit 5e38d032e0

View File

@ -33,7 +33,7 @@ public class MathMan {
}
public static int roundInt(double value) {
return (int) (value < 0 ? (value == (int) value) ? value : - 1 : value);
return (int) (value < 0 ? (value == (int) value) ? value : value - 1 : value);
}
/**