Q:

How to round up decimal value to the nearest whole number?

I need to round up value like 0.15, 0.20, 0.25 to nearest whole number 1. I'm trying like below but it is returning 0.
decimal fees = Math.Round(30 * 0.005M);

I would appreciate any help or suggestion on the above.

A:

You can use Math.Ceiling
decimal fees = Math.Ceiling(30 * 0.005M);

