How to convert timer to minutes, seconds and cents

Hi All!
I have a timer that calculate the time of a lap in a race game.
I have the minutes and the seconds:

int curMin = Mathf.FloorToInt (lapTime / 60F);
		int curSec = Mathf.FloorToInt (lapTime - curMin * 60);
		int curCent = Mathf.FloorToInt (lapTime - curSec * 100);

		string curLapTime = string.Format ("{0:0}:{1:00}:{2:00}", curMin, curSec, curCent);

but the cents of seconds don’t work…
What is the right calc of the cents of seconds?

Correct calculate your “cents”:

 int curCent = Mathf.FloorToInt (lapTime - curMin *60 - curSec * 100);

I hope that it will help you.

int curCent = Mathf.FloorToInt (lapTime - (curMin*60) - (curSec * 100));

Guys it’s very simple.
Try this one

CountDown In hours, Minutes and seconds

countDown -= Time.deltaTime;

countDownText.text = (((Mathf.Floor(countDown / 3600f)) % 60).ToString("00")) + ":" + (((Mathf.Floor(countDown / 60f)) % 60).ToString("00")) + ":" + (Mathf.Floor(countDown % 60f).ToString("00"));

@areFranz