<Round the Integer value with specific steps incre...
# stackoverflow
u
Round the Integer value with specific steps increment and decrement (please read carefully) Kotlin [closed] I'm using Kotlin language. I have 2 scenario increment/decrement: var slotValue = 500 (it should be multiple of 500) so when I press increment, "a=501" should become = 1000 "a=1150" should become = 1500 "a=999" should become = 1500 "a=2400" should become = 2500 so when I press decrement, "a=501" should become = 500 "a=1150"...