# How to floor a normed/fixed-point number in an idempotent way

**URL:** https://discourse.julialang.org/t/how-to-floor-a-normed-fixed-point-number-in-an-idempotent-way/47510
**Category:** New to Julia
**Created:** [September 29, 2020, 8:37pm UTC](https://discourse.julialang.org/t/how-to-floor-a-normed-fixed-point-number-in-an-idempotent-way/47510 "2020-09-29T20:37:59Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)
#### Post date: [September 29, 2020, 9:16pm UTC](https://discourse.julialang.org/t/how-to-floor-a-normed-fixed-point-number-in-an-idempotent-way/47510/5 "2020-09-29T21:16:50Z")

</div>

In all fairness though, since FixedPointNumbers.jl breaks the contract of floor here, they should probably implement those methods specially to avoid returning a different type than the input type 🤔

---

_[View the full topic](https://discourse.julialang.org/t/how-to-floor-a-normed-fixed-point-number-in-an-idempotent-way/47510)._
