The same reason it does in Java; the result is larger than Integer.MAX_VALUE (ie. integer overflow). You need to tell Java/Groovy to use a larger type.
System.out.println(86400L*1000*30); > On Dec 8, 2019, at 3:26 PM, Edmond Kemokai <ekemo...@gmail.com> wrote: > > Is there a reason this should yield a negative number in groovy? > > 86400*1000*30 >