I can see a problem in your line:
text.setText(0);
The declaration of function is setText(int resid)
so it tries to search for a string resource with id 0
and no will be found, stack trace error:
android.content.res.Resources$NotFoundException: String resource ID #0x0
So replace your line with:
text.setText(String.valueOf(0));
Second thing, you have declared your number variable as int:
int number = 0;
But, you're adding a float number to it:
number+=0.1;
So declare it float number = 0;
.
To round up your number to one decimal place use this trick with mutliplying the number first, converting it to int to strip away decimal places and converting it back to float:
float displaynumber = (float)((int)(number * 10.0))/10.0f;