newguy
Well-known member
Can someone tell me why this does not work.
If I type in 450.50 I get [7:30:30], but when I type in 4500.50 I get [3:00:30]
Very confusing...
VB.NET:
Public Function UnitTimeValue(ByVal time As Double) As String
Dim ts As TimeSpan = TimeSpan.FromMinutes(time)
Return ts.Hours & ":" & ts.Minutes.ToString("0#") & ":" & ts.Seconds.ToString("0#")
End Function
Very confusing...