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.

1 Answer 1


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 and acknowledge you have read our privacy policy.

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