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;

Related: c# – How do I round a decimal value to 2 decimal places (for output on a page)

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *