I want a rounding method on double values in C#. It needs to be able to round a double value to any rounding precision value. My code on hand looks like:
pub
double d = 1.2345; Math.Round(d, 2);
the code above should do the trick.