# Constant rounding

**URL:** <https://discourse.processing.org/t/constant-rounding/18449>\
**Category:** Beginners\
**Created:** [March 6, 2020, 2:03pm UTC](https://discourse.processing.org/t/constant-rounding/18449 "2020-03-06T14:03:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![immorom](https://avatars.discourse-cdn.com/v4/letter/i/ea5d25/32.png) [@immorom](https://discourse.processing.org/u/immorom)\
**Post date:** [March 6, 2020, 2:03pm UTC](https://discourse.processing.org/t/constant-rounding/18449/1 "2020-03-06T14:03:47Z")

</div>

Why does this happen?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/d3530e9e80671da09ceb9262196b9c2b9a5ba8cc.png)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [March 6, 2020, 2:17pm UTC](https://discourse.processing.org/t/constant-rounding/18449/2 "2020-03-06T14:17:27Z")

</div>

> [@Strange float behaviors (integer division)](https://discourse.processing.org/t/strange-float-behaviors-integer-division/3867):
>
> i dont get this : [image] and if I said oi = PI/2 it does work … thank you

> [@Atan function not working correctly?](https://discourse.processing.org/t/atan-function-not-working-correctly/13340/2):
>
> Try out atan(100 / 75.0) & atan(100.0 / 80) instead, so it’s not integer division anymore! bulb
