# Round Up Function

**URL:** <https://forum.adalo.com/t/round-up-function/21589>\
**Category:** Get Help\
**Created:** [January 3, 2022, 8:46pm UTC](https://forum.adalo.com/t/round-up-function/21589 "2022-01-03T20:46:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterbujok](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/peterbujok/32/14954_2.png) [@peterbujok](https://forum.adalo.com/u/peterbujok)\
**Post date:** [January 3, 2022, 8:46pm UTC](https://forum.adalo.com/t/round-up-function/21589/1 "2022-01-03T20:46:45Z")

</div>

I’m trying to figure out how to add a calculation similar to the ROUNDUP function in Excel. I see that we have ROUND, but that can go down if the number is .49 or lower. The use case is calculating the number of paint cans based on square feet. We can’t round down in this situation as then there won’t be enough paint. So if the calculation is estimating 10.2 cans of paint, we need to round it up to 11.

---

<div class="post-metadata">

**Author:** ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)\
**Post date:** [January 3, 2022, 9:16pm UTC](https://forum.adalo.com/t/round-up-function/21589/2 "2022-01-03T21:16:53Z")

</div>

Hi @peterbujok ,

Welcome.

Have another field that is called INT cans, so when you save to the collection, this field will be saved as INT(cans).

Later you can do update action to cans as INT cans+1 if cans \> INT cans

---

<div class="post-metadata">

**Author:** ![peterbujok](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/peterbujok/32/14954_2.png) [@peterbujok](https://forum.adalo.com/u/peterbujok)\
**Post date:** [January 3, 2022, 9:26pm UTC](https://forum.adalo.com/t/round-up-function/21589/3 "2022-01-03T21:26:01Z")

</div>

Thank you, that seems like a decent workaround, hopefully we get some more Excel style functions in the future so we can create more direct calculations.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [January 13, 2022, 9:26pm UTC](https://forum.adalo.com/t/round-up-function/21589/4 "2022-01-13T21:26:33Z")

</div>

Closed on January 13, 2022, 9:26pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
