On 12/15/04 Jordi wrote: > --- Paolo wrote: > I use the following methods: > DateTime and TimeSpan to calculate the execution time Console.WriteLine() to > print it out. > > > DateTime initial = DateTime.Now; > ... > TimeSpan total = DateTime.Now.Subtract( initial ); > Console.WriteLine(total.TotalMilliseconds.ToString() );
TimeSpan.TotalMilliseconds returns a double, so it's perfectly fine that you got decimal digits printed, it depends on the actual value. lupus -- ----------------------------------------------------------------- [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
