I am creating a calculator using and my result need to be rounded-up. How do I do that?

The only thing I can do is to round the result but not round-up.


I found the solution, you need to use: Math.Ceiling(Number) Returns the smallest integer value that is greater than or equal to the specified number.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.