Int to Sting then update in GUI Text

I have been looking over this site and it has indeed been very helpful, however i canot seem to find the information that i need to solve a problem using JS

var Score = 2;
var totalScore = 5;
var mutiValue = 3;
var partScore = 4;
var guiTextThing : UnityEngine.GUIText;
var ScoreString;
var stringtotalScore : String;
/*var ScoreString : String;*/


function Update () 
{
     partScore = Score * mutiValue;
     totalScore = totalScore + partScore ;
     totalScore.ToString(stringtotalScore);
     ScoreString = stringtotalScore;
     guiTextThing.text = ScoreString;
}

the main problem is that the text will not display and i am unsure if the rest of this is working, yes i have connected up to the GUItext and the script is atacted to the player and is running, just no update, i was having a cannot convert int to string but i fixed that using ToString() and i get no errors from the script when running

any idea where i have gone wrong?

From what you’ve posted, you have not assigned any text to be displayed. guiTextThing.text is ScoreString which is in turn stringtotalScore, which is never assigned anything. Perhaps you just need:

guiTextThing.text = totalScore.ToString();

Try:

guiTextThing.text = String.Format("{0}", totalScore);

Thanks for that, it would seem that in my haste to get things done I over looked that, the answers you supplied have solved my problem and have helped in other areas too, thanks