I Have this value: 833333333333333.33325 And need to round up with 2 decimals (should be 833333333333333.34)
If i use MidpointRounding.ToEven or AwayFromZero, i always get 833333333333333.33. How i can get 833333333333333.34 using Math in C# ?
The code is:
decimal valorArredondado = Math.Round(valorParcelado, MidpointRounding.AwayFromZero);
Where valorParcelado is 833333333333333.33325 andi need a return in decimal value.