How do I Display Number variables?

So im trying to display a variable using guiText but im not sure what i should be using. Im using a script sort of like this one:

var number = 10;
var show : Transform;
    
    
function Update ()
{
    show.guiText.text = number;
}

Im getting an error saying cant convert “int” to “string”. I think it might be because i cant use guiText to display numbers. Any help? And it has to say 10 not ten. Thanks!

do this instead:

show.guiText.text = nnumber.ToString();

or u can do this i believe

show.guiText.text = "" + number;