# Output format

**URL:** <https://discourse.julialang.org/t/output-format/89200>\
**Category:** General Usage\
**Created:** [October 24, 2022, 5:40pm UTC](https://discourse.julialang.org/t/output-format/89200 "2022-10-24T17:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrocha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jrocha/32/30491_2.png) [@jrocha](https://discourse.julialang.org/u/jrocha)\
**Post date:** [October 24, 2022, 5:40pm UTC](https://discourse.julialang.org/t/output-format/89200/1 "2022-10-24T17:40:27Z")

</div>

|0 | 0.5 | | -0.375 | | 0.5 |  
Hi,  
I wonder how can i format the output of columns and also the numbers aligned by the decimal comma.  
Below some of my output.

Thanks in advance.  
Cheers,  
|1 | 0.25 | | 0.265625 | | 0.25 |  
|2 | 0.375 | | -0.072265625 | | 0.125 |  
|3 | 0.3125 | | 0.093017578125 | | 0.0625 |  
|4 | 0.34375 | | 0.0093688964843 | | 0.03125 |  
|5 | 0.359375 | | -0.031711578369 | | 0.015625 |  
|6 | 0.3515625 | | -0.011235713958 | | 0.0078125 |  
|7 | 0.34765625 | | -0.000949323177 | | 0.00390625 |  
|8 | 0.345703125 | | 0.0042058303952 | | 0.001953125 |  
|9 | 0.3466796875 | | 0.0016272617504 | | 0.0009765625 |  
|10 | 0.34716796875 | | 0.0003387209726 | | 0.00048828125 |  
|11 | 0.347412109375 | | -0.000305363224 | | 0.000244140625 |  
|12 | 0.3472900390625 | | 1.6663349015288 | | 0.0001220703125 |  
|13 | 0.34735107421875 | | -0.000144353819 | | 6.103515625e-05 |  
|14 | 0.347320556640625 | | -6.384620573385 | | 3.0517578125e-05 |  
|15 | 0.347305297851562 | | -2.359167094923 | | 1.52587890625e-05 |  
|16 | 0.347297668457031 | | -3.464221613125 | | 7.62939453125e-06 |  
|17 | 0.347293853759766 | | 6.5995485396541 | | 3.814697265625e-06 |  
|18 | 0.347295761108398 | | 1.5676596729630 | | 1.9073486328125e-06 |  
|19 | 0.347296714782715 | | -9.482819176565 | | 9.5367431640625e-07 |  
|20 | 0.347296237945557 | | 3.0968864073166 | | 4.76837158203125e-07 |

---

<div class="post-metadata">

**Author:** ![runjaj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/runjaj/32/23628_2.png) [@runjaj](https://discourse.julialang.org/u/runjaj)\
**Post date:** [October 24, 2022, 6:34pm UTC](https://discourse.julialang.org/t/output-format/89200/2 "2022-10-24T18:34:55Z")

</div>

Check [PrettyTables.jl](https://github.com/ronisbr/PrettyTables.jl).

---

<div class="post-metadata">

**Author:** ![jrocha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jrocha/32/30491_2.png) [@jrocha](https://discourse.julialang.org/u/jrocha)\
**Post date:** [October 25, 2022, 10:29am UTC](https://discourse.julialang.org/t/output-format/89200/3 "2022-10-25T10:29:59Z")

</div>

Thanks @runjaj, if i understand i can use prettytables for the ouput of printf?
