I have a query where it gives me quantities of materials. In it, the quantity might say i need 2.5 of a certain material, but I only deal in whole numbers. I need something where it will round up to the next whole number. Any help would be appreciated.
In C++ Int does do the rounding down. Think that your way is a lot more concise than mine. However, apparently mine isn't working but I think that the method is the right one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.