Quote Originally Posted by wild_bill View Post
Code:
'This
Dim elapsed As TimeSpan = Me.StopWatch.Elapsed                                          
Label1.Text = String.Format("{0}", Math.Floor((elapsed.Minutes * 60) + elapsed.Seconds))

'Can be shortend to this
Label1.Text = Me.StopWatch.Elapsed.TotalSeconds.ToString
Thank you, Wild Bill. However, using that causes seconds to be displayed to 7 decimal places. Is there any way to prevent that? I just want seconds displayed as whole numbers.