# A algorithm of the number's sequence

**URL:** <https://forum.kirupa.com/t/a-algorithm-of-the-numbers-sequence/131236>\
**Category:** Uncategorized\
**Created:** [December 13, 2004, 10:10pm UTC](https://forum.kirupa.com/t/a-algorithm-of-the-numbers-sequence/131236 "2004-12-13T22:10:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lauehuang](https://avatars.discourse-cdn.com/v4/letter/l/eb8c5e/32.png) [@lauehuang](https://forum.kirupa.com/u/lauehuang)\
**Post date:** [December 13, 2004, 10:10pm UTC](https://forum.kirupa.com/t/a-algorithm-of-the-numbers-sequence/131236/1 "2004-12-13T22:10:01Z")

</div>

Hallo everybody,

I met a problem while I am learning the flash actionscript 2.  
The question is how to implement this algorithm: I have number (1-100), however, it will return to 0, when it meets 10, likewise 11 returns to 1, 12 to 2…

90 -\> 0  
91 -\> 1  
…

Thanks in advance!
