My problem is that I am using Math.Round
and it is rounding, what I need is that it only shows me a single decimal without being rounded
This is my normal result
double rap = 0;
rap = (11300 - 8508.54)* 0.015);
That this gives me as a result 41.8719
This is when I use Math.Round
double rap = 0;
rap = Math.Round(11300 - 8508.54)* 0.015,1);
It gives me as a result 41.9
and what I need is that you give 41.8
This is what I need 41.8
that is my result