I am trying to show the time taken by a process in label.
So I implemented watch
.
Now let say process took 7 miliseconds and I want to show it in seconds so I wrote 7/1000
which should be 0.007
but its showing 0
.
I am showing it into label, so if any conversions of string can show this format please suggest me.