Can you round a .NET TimeSpan object?
Can you round a .NET TimeSpan object? Can you round a .NET TimeSpan object? TimeSpan I have a Timespan value of: 00:00:00.6193789 Timespan Is there a simple way to keep it a TimeSpan object but round it to something like 00:00:00.62? TimeSpan Just a warning to others. I was going down the road of using TimeSpan as a public property off of a business object. Didn't realize that TimeSpan was not a "XmlSerializable" data type. Discussion on the issue: devnewsgroups.net/group/microsoft.public.dotnet.framework/… – BuddyJoe Dec 4 '08 at 0:14 11 Answers 11 Sorry, guys, but both the question and the popular answer so far are wrong :-) The question is wrong because Tyndall asks for a way to round but shows an example of truncation . Will D...
