# 300 \< 59 evaluates to true! :º)

**URL:** <https://forum.kirupa.com/t/300-59-evaluates-to-true/48688>\
**Category:** flash\
**Created:** [April 15, 2004, 8:36pm UTC](https://forum.kirupa.com/t/300-59-evaluates-to-true/48688 "2004-04-15T20:36:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joaquin\_win](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Joaquin\_win](https://forum.kirupa.com/u/Joaquin_win)\
**Post date:** [April 15, 2004, 8:36pm UTC](https://forum.kirupa.com/t/300-59-evaluates-to-true/48688/1 "2004-04-15T20:36:23Z")

</div>

What am I doing wrong???

```auto

on (release) {	
	if (number >= go) 
                {_root.changePhoto (ir - (this.pIndex + 1))}
	else {trace ("Not")}
	    }

```

so, this button it´s like a “go-to”. The user introduces the “number” in a text box an then pushes the button.

The text box only allows numbers, but I want it to skip if the number is 0 (that`s the first problen yet to be solved).  
But the real problem is that sometimes when I introduce a number higer than the var “number” it goes into the if… (like the title zes… 300\<59 evaluates to true).
