# How do I restrict the number of digits in the REPL display?

**URL:** <https://discourse.julialang.org/t/how-do-i-restrict-the-number-of-digits-in-the-repl-display/107501>\
**Category:** New to Julia\
**Tags:** repl, io, rounding\
**Created:** [December 12, 2023, 2:37pm UTC](https://discourse.julialang.org/t/how-do-i-restrict-the-number-of-digits-in-the-repl-display/107501 "2023-12-12T14:37:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [December 12, 2023, 6:21pm UTC](https://discourse.julialang.org/t/how-do-i-restrict-the-number-of-digits-in-the-repl-display/107501/5 "2023-12-12T18:21:49Z")

</div>

Related discussions:

- [How to display Float64 with more digits](https://discourse.julialang.org/t/how-to-display-float64-with-more-digits/5628)
- [How to print a number to X digits?](https://discourse.julialang.org/t/how-to-print-a-number-to-x-digits/50526)
- [julia - Jula REPL number formatting - Stack Overflow](https://stackoverflow.com/questions/24580334/jula-repl-number-formatting)
- [function to change numeric output format · Issue #6493 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/6493)

---

_[View the full topic](https://discourse.julialang.org/t/how-do-i-restrict-the-number-of-digits-in-the-repl-display/107501)._
