# Processing numbers

**URL:** <https://forum.kirupa.com/t/processing-numbers/19555>\
**Category:** flash\
**Created:** [April 29, 2003, 7:57am UTC](https://forum.kirupa.com/t/processing-numbers/19555 "2003-04-29T07:57:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RealTK](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@RealTK](https://forum.kirupa.com/u/RealTK)\
**Post date:** [April 29, 2003, 7:57am UTC](https://forum.kirupa.com/t/processing-numbers/19555/1 "2003-04-29T07:57:43Z")

</div>

Does anyone know how to make Flash MX process numbers or letters written in a textfield one by one?  
For example, if you write 2463 into a textfield, it would make a calculation like 2+4+6+3 and print the result on screen.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 29, 2003, 8:18am UTC](https://forum.kirupa.com/t/processing-numbers/19555/2 "2003-04-29T08:18:19Z")

</div>

something to start… =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 1, 2003, 11:35pm UTC](https://forum.kirupa.com/t/processing-numbers/19555/3 "2003-05-01T23:35:04Z")

</div>

Thank you. 🙂  
This helped a lot but I still need to get other things working…  
I need the program to divide numbers by 2, then check if the resulting number is a fraction or not. Like 4,5.  
I also need the program to multiply the number 2 a as many times as the counting value of the current number being calculated. Example: If there are five numbers 1 (0) 1 (1) 1 (2) 1 (3) 1 (4), it should calculate 2x0, 2x1, 2x2, 2x2x2 and 2x2x2x2 and then add them together.

I bet no one can understand this message because of my lack of knowledge on english mathematic terms. 😛
