R rowe_newsgroups Oct 7, 2008 #3 First, don't ask question in the subject - it causes problems for many readers. Second, look up Math.Round. Thanks, Seth Rowe [MVP] http://sethrowe.blogspot.com/
First, don't ask question in the subject - it causes problems for many readers. Second, look up Math.Round. Thanks, Seth Rowe [MVP] http://sethrowe.blogspot.com/
M Michel Posseth [MCP] Oct 7, 2008 #4 system.math.round http://msdn.microsoft.com/en-us/library/system.math.round(VS.71).aspx to get true midpoint rounding you must specify MidpointRounding.AwayFromZero in the MidpointRounding parameter Ottherwise you might get unexpected results in certain cases ( bankers rounding ) Michel Posseth [MCP] http://www.vbdotnetcoder.com
system.math.round http://msdn.microsoft.com/en-us/library/system.math.round(VS.71).aspx to get true midpoint rounding you must specify MidpointRounding.AwayFromZero in the MidpointRounding parameter Ottherwise you might get unexpected results in certain cases ( bankers rounding ) Michel Posseth [MCP] http://www.vbdotnetcoder.com