I have an int variable and when I am setting this variable as an Android TextView's text it's throwing an error, maybe because it's an Int. I have checked but couldn't find a toString function for the int. So how can I do that?
int sdRate=5;
//text_Rate is a TextView
text_Rate.setText(sdRate); //gives error