I want to round up double value in two decimal places in c# how can i do that?
double inputValue = 48.485;
after round up
inputValue = 48.49;
This works:
inputValue = Math.Round(inputValue, 2);
1.4m articles
1.4m replys
5 comments
57.0k users