TimeSpan in c# is ignoring values after decimals. How to get exact conversion value?
TimeSpan.FromMilliseconds(5.25).TotalSeconds returns 0.005 instead of 0.00525
TimeSpan in c# is ignoring values after decimals. How to get exact conversion value?
TimeSpan.FromMilliseconds(5.25).TotalSeconds returns 0.005 instead of 0.00525
Documentation tells that
Therefore, value will only be considered accurate to the nearest millisecond.