I want to round up always in c#, so for example, from 6.88 to 7, from 1.02 to 2, etc.
How can I do that?
Use Math.Ceiling()
Math.Ceiling()
double result = Math.Ceiling(1.02);
1.4m articles
1.4m replys
5 comments
57.0k users