# How to get the significand and the exponent of a floating point number?

**URL:** <https://discourse.julialang.org/t/how-to-get-the-significand-and-the-exponent-of-a-floating-point-number/29900>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 14, 2019, 1:38pm UTC](https://discourse.julialang.org/t/how-to-get-the-significand-and-the-exponent-of-a-floating-point-number/29900 "2019-10-14T13:38:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [October 14, 2019, 1:46pm UTC](https://discourse.julialang.org/t/how-to-get-the-significand-and-the-exponent-of-a-floating-point-number/29900/2 "2019-10-14T13:46:32Z")

</div>

Use `exponent` and `significand` to get exponent and mantissa of a float. There is also `bitstring` which will return the binary representation as a string.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-get-the-significand-and-the-exponent-of-a-floating-point-number/29900)._
