# How to convert the binary form of a float to an integer, and vice versa?

**URL:** <https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083>\
**Category:** General Usage\
**Tags:** question, fast-math\
**Created:** [October 20, 2021, 8:05am UTC](https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083 "2021-10-20T08:05:22Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![xspeng](https://avatars.discourse-cdn.com/v4/letter/x/90ced4/32.png) [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Post date:** [January 28, 2022, 9:29am UTC](https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083/18 "2022-01-28T09:29:00Z")

</div>

This post was temporarily hidden by the community for possibly being off-topic, unfocused, inappropriate, or spammy.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083)._
