# Problem with comparing numbers

**URL:** <https://forum.kirupa.com/t/problem-with-comparing-numbers/222663>\
**Category:** flash\
**Created:** [April 15, 2007, 11:36pm UTC](https://forum.kirupa.com/t/problem-with-comparing-numbers/222663 "2007-04-15T23:36:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lexwbb](https://avatars.discourse-cdn.com/v4/letter/l/3ab097/32.png) [@lexwbb](https://forum.kirupa.com/u/lexwbb)\
**Post date:** [April 15, 2007, 11:36pm UTC](https://forum.kirupa.com/t/problem-with-comparing-numbers/222663/1 "2007-04-15T23:36:18Z")

</div>

Hello everyone. This is my firt post on this forum.

So my problem begins.  
I have a list a numbers, no matters what, let say 16,25,54,6,1250.  
The fla attached is made to compare the numbers and shows the biger one.  
So, i enter 16 in box 1, and i press the green buton.Beeing the first number inserted is clear that it is the bigger one. I inserted 25. The program compares 25 with 16(the actual bigger number) and it puts 25 in box 2 because it is bigger. Next 54, the same step. Now i inserted 6. The bug begins. It compares 54 with 6 and it says that 6 is bigger and puts it in box 2.Ok , not so bad ;(, but when i enter 1250 or any other bigger number it refuses to compare and shows 6 in box 2.

It looks like it compares only first digit of the number and that make me mad. I have been smoking a half of pack of tigarets , and i dont know what to do to fix this bug. Please give some ideeas to fix this, it is very anoyng. :jailbreak

Thanks and scuse my poor english
