# How to format float numbers in human-friendly format?

**URL:** <https://discourse.julialang.org/t/how-to-format-float-numbers-in-human-friendly-format/58209>\
**Category:** New to Julia\
**Tags:** question, formatting\
**Created:** [March 30, 2021, 9:33am UTC](https://discourse.julialang.org/t/how-to-format-float-numbers-in-human-friendly-format/58209 "2021-03-30T09:33:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nandoconde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nandoconde/32/19497_2.png) [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Post date:** [March 30, 2021, 10:02am UTC](https://discourse.julialang.org/t/how-to-format-float-numbers-in-human-friendly-format/58209/2 "2021-03-30T10:02:03Z")

</div>

I don’t know how “noisy” it is for you, but the command for versatile printing is [`printf`](https://docs.julialang.org/en/v1/stdlib/Printf/), which by the way is a lot faster than before in Julia 1.6

In this case, the command would be:

```julia
@printf "my number: %.2f" f

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-format-float-numbers-in-human-friendly-format/58209)._
