Check out example codes for "unity to string". It will help you in understanding the concepts better.

Code Example 1

int i = 5;
string iString = i.ToString();

Code Example 2

int your_int = 15; 
// Your original integer

string your_string = your_int.ToString(); 
// The method ToString() converts integers to strings

/*
Answer by Ren Rawbone
*/

Learn ReactJs, React Native from akashmittal.com