def _setLapTime(self, elap):
        """ Set the time string to Minutes:Seconds:Hundreths """
        minutes = int(elap/60)
        seconds = int(elap - minutes*60.0)
        hseconds = int((elap - minutes*60.0 - seconds)*100)            
        return '%02d:%02d:%02d' % (minutes, seconds, hseconds)
 Set the time string to Minutes:Seconds:Hundreths 
recipes/Python/578666_Stopwatch_with_laps_in_Tkinter/recipe-578666.py