private decimal GetSecondsElapsed(long milliseconds) { decimal result = Convert.ToDecimal(milliseconds) / 1000m; return Math.Round(result, 6); }