I have an minutes field in a database like 138.34 that I need to convert back to HH:MM:SS What is the easiest way to do this?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
You can use the
TimeSpan.FromMinutes(minutesInDouble)
, pass the above value in double format. For more information - check MSDN link hereUse the
TimeSpan
structure:Result: