public string Divide(uint Frames, uint FrameRate)
{
return TimeSpan.FromSeconds(Frames / FrameRate).ToString(@"dd\.hh\:mm\:ss") + ':' + (Frames % FrameRate);
}
solved C# How to divide a number get the result in the format hh:mm:ss:
public string Divide(uint Frames, uint FrameRate)
{
return TimeSpan.FromSeconds(Frames / FrameRate).ToString(@"dd\.hh\:mm\:ss") + ':' + (Frames % FrameRate);
}
solved C# How to divide a number get the result in the format hh:mm:ss: