# How to convert element type of a container?

**URL:** <https://discourse.julialang.org/t/how-to-convert-element-type-of-a-container/20293>\
**Category:** General Usage\
**Tags:** question, array, type, convert\
**Created:** [January 30, 2019, 9:35pm UTC](https://discourse.julialang.org/t/how-to-convert-element-type-of-a-container/20293 "2019-01-30T21:35:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![singularitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/singularitti/32/17678_2.png) [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Post date:** [January 30, 2019, 11:47pm UTC](https://discourse.julialang.org/t/how-to-convert-element-type-of-a-container/20293/5 "2019-01-30T23:47:28Z")

</div>

That’s indeed why I asked [this question](https://discourse.julialang.org/t/how-to-get-the-container-type-of-a-container/20253). I am surprised that Julia does not provide a simple way of doing this.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-convert-element-type-of-a-container/20293)._
