# How to print a vector as a column vector?

**URL:** <https://discourse.julialang.org/t/how-to-print-a-vector-as-a-column-vector/67291>\
**Category:** General Usage\
**Tags:** io\
**Created:** [August 29, 2021, 4:14pm UTC](https://discourse.julialang.org/t/how-to-print-a-vector-as-a-column-vector/67291 "2021-08-29T16:14:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [August 29, 2021, 4:27pm UTC](https://discourse.julialang.org/t/how-to-print-a-vector-as-a-column-vector/67291/3 "2021-08-29T16:27:17Z")

</div>

> [@How to repeat the format in @printf?](https://discourse.julialang.org/t/how-to-repeat-the-format-in-printf/66695):
>
> Sorry for another stupid question. Not proud of asking these kind questions sweat_smile. I am sure it is stupid, however I searched google and stack overflow but still not sure how to do this. The question is very simply, using Printf @printf("%9.3f %9.3f %9.3f %9.3f",1.0,2.0,3.0,4.0) I need to display 4 numbers from 1.0 to 4.0 for example. Now, do I have to manually put %9.3f for four times in the fmt? In Fortran I can do things like 4(9.3f) So that I do not need to put 9.3f 4 times. I…

I think this thread exhausted all alternatives

---

_[View the full topic](https://discourse.julialang.org/t/how-to-print-a-vector-as-a-column-vector/67291)._
