Forum Discussion
M_McDonald
16 years agoSuper Contributor
nextIncrement.toInteger() does not convert nextIncrement, it returns an Integer, so you have to assign to a new variable.
def nextIncrementInt = nextIncrement.toInteger()
nextIncrementInt += 10
log.info nextIncrementInt