how do you round a variable that is declared as a double?
It's tough being an unhandled exception... ___________ VB.NET 2008 VB.NET 2010 ORACLE 11g CRYSTAL 11
For example : VB Code: Math.Round(4.4) returns 4.0
Math.Round(4.4)
Or you can specify how many decimal places like: VB Code: Math.Round(57.985736632, 2) 'for 2 decimal place rounding
Math.Round(57.985736632, 2) 'for 2 decimal place rounding
Forum Rules