longLevels.Add(r3 -(Math.Max(2*TickSize,(r3-r2)*0.1)));
I am trying to round the result to 2 dp before adding it, like this,
longLevels.Add(r3 -(Math.Round(Math.Max(2*TickSize,(r3-r2)*0.1))),2);
But im getting the error "No overload for method Add takes 2 arguments, but I am overloading the Math.Round with the second argument not the Add method??
Where am I making my mistake?
Comment