# What is the best way to get a number splitted into a vector.\<int\>?

**URL:** <https://forum.kirupa.com/t/what-is-the-best-way-to-get-a-number-splitted-into-a-vector-int/315766>\
**Category:** flash\
**Created:** [November 3, 2010, 4:03pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-get-a-number-splitted-into-a-vector-int/315766 "2010-11-03T16:03:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayumilove](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ayumilove/32/2532_2.png) [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Post date:** [November 3, 2010, 4:03pm UTC](https://forum.kirupa.com/t/what-is-the-best-way-to-get-a-number-splitted-into-a-vector-int/315766/1 "2010-11-03T16:03:36Z")

</div>

Let say I have a number 9645  
What would be the efficient method to store each number character  
like this Vector.\<int\>[9,6,4,5]
