Timer Help C# - Displaying it in a non Decimal format

Hi i have this script that will turn a directional light around to emulate a sun that is all working fine but i want to display the time on a gui label that i can do aswell the thing i cant do is to stop it from being a decimal when i run it it works fine, i want it to be a whole number like 1 instead of 1.11032046520 please tell me how i can fix this.

My Code-

//this is the cut version because the real one is very long 
//this code includes the parts of the .cs i am having trouble with
// first the int declare which is the game time
int currentCycleTime (int);

// now for the OnGUI()
Void OnGUI()
{
   //show the current time as a gui text
   GUI.Label(new Rect(10,10,100,20), "Time:"+ currentCycleTime );
   print (currentCycleTime);
}

It depends on what you really need. print does a Debug.Log which prints stuff to your console. I don’t think you even need it in this context cause you’re already seeing the value from your gui. Just mess around with it man. Anyway, you could try:

int whole = (int)currentCycleTime; // ASSUMING that you rolled back to your decimal/float version
GUI.Whatever(stuff, stuff, stuff, whole);
print (whole);

// ANOTHER APPROACH (same effect):
GUI.Whatever(stuff, stuff, stuff, (int)currentCycleTime);
print ((int)currentCycleTime);

obviously the 2nd approach is redundant since you’re casting twice.