back? for example = 12000, becomes 12, and 120000 becomes 120
Divide by 1000?
Math.floor(number / 1000)
Hey, it looks like someone found your question weird and thinks you're having an XY problem! Do make sure you're not running into that and provide proper info/desc/logs/what_you_tried etc. http://xyproblem.info/
!xy Why do you need this?
If(num % 1000==0) {num =num/1000}
Anyway, the solution is almost exactly the same as the one I proposed for this
Обсуждают сегодня