0
How do we break an integer in kotlin?
Hi, i want to know is there possible way to break an integer? Like if user enters 255 l, then can we break it into 200 and 55?? I mean can i operate on 200 differently and on 55 differently?
3 Answers
+ 1
255/100*100 = 200
255%100 = 55
+ 1
Thanks a lot may be i'm a beginner that's why i didn't get it completely but i appreciate your response and i'll keep going on it.