+ 1

How can i delete a digit from number? . example: if i=123445 its return i=12445 its delete the digit 3 from the number

8th Jan 2017, 7:55 PM
java-c sharp
java-c sharp - avatar
6 Answers
+ 5
Convert it to string, remove it and then make it a number again! (can't help further, I'm not so keen in Java, SoloLearn tutorials are enough for it though
 ~_~)
8th Jan 2017, 8:10 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
well i do it i/1000 =v and i=i/10 then i=(i*1000)+v and these solve the probleme
8th Jan 2017, 8:16 PM
java-c sharp
java-c sharp - avatar
+ 1
thanks , i do it â˜ș
8th Jan 2017, 8:12 PM
java-c sharp
java-c sharp - avatar
+ 1
I solved it without string conversion. You can find it between my codes.
8th Jan 2017, 8:41 PM
DFX
DFX - avatar
+ 1
okey thanks DFX
8th Jan 2017, 8:42 PM
java-c sharp
java-c sharp - avatar