Android Question calc

G-ShadoW

Active Member
Licensed User
Longtime User
How to calculate this

00001 + 1 = 00002 etc

I have in edittext 00001 and I want to increase it by 1 at any operation...
 

G-ShadoW

Active Member
Licensed User
Longtime User
B4X:
   EditText4.Text=EditText2.text + EditText3.text
   EditText4.Text=NumberFormat(EditText4.text, 5,0)
   EditText4.Text=EditText4.Text.Replace(",","")
   EditText4.Text=EditText4.Text.Replace(".","")

Any better solution...
 
Upvote 0
Top