# Looking for ONE package, to do BASIC number formatting for console-text-output

**URL:** <https://discourse.julialang.org/t/looking-for-one-package-to-do-basic-number-formatting-for-console-text-output/88655>\
**Category:** New to Julia\
**Tags:** numbers, formatting\
**Created:** [October 13, 2022, 11:42am UTC](https://discourse.julialang.org/t/looking-for-one-package-to-do-basic-number-formatting-for-console-text-output/88655 "2022-10-13T11:42:18Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ffevotte](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ffevotte/32/6587_2.png) [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Post date:** [October 13, 2022, 2:15pm UTC](https://discourse.julialang.org/t/looking-for-one-package-to-do-basic-number-formatting-for-console-text-output/88655/7 "2022-10-13T14:15:19Z")

</div>

[Humanize.jl](https://github.com/IainNZ/Humanize.jl) could help with thousands separator for integers, but I don’t think it handles floats out of the box (except in the specific case of data sizes):

```julia
julia> using Humanize
julia> Humanize.digitsep(123456)
"123,456"

```

  

Also see these threads dealing with the same topic:

> [@Is it possible for Julia to print numeric output in the REPL with underscores as digit separators?](https://discourse.julialang.org/t/is-it-possible-for-julia-to-print-numeric-output-in-the-repl-with-underscores-as-digit-separators/44962):
>
> Say I need to compute the size of a cross join before attempting it. My eyes aren’t great. julia\> 1\_000\*144\*30\*20\*15\*18 23328000000 Wait, how many 0s are there? julia\> ans==2\_332\_800\_000 false Urgh. Can I just see the output with the \_ in the first place? Then I could also nicely copy and paste it into future computations.

> [@Add support for ' (thousands separator) for Printf](https://discourse.julialang.org/t/add-support-for-thousands-separator-for-printf/47030):
>
> Printf, even after the (very nice) rewrite, does not support the ' thousands separator flag (it is a GNU extension). Would a PR adding that be accepted? It’s very nice funcionality to have in practice.

---

_[View the full topic](https://discourse.julialang.org/t/looking-for-one-package-to-do-basic-number-formatting-for-console-text-output/88655)._
