# How to attach number to a TextField

**URL:** <https://forum.kirupa.com/t/how-to-attach-number-to-a-textfield/266796>\
**Category:** flash\
**Created:** [July 24, 2008, 1:10pm UTC](https://forum.kirupa.com/t/how-to-attach-number-to-a-textfield/266796 "2008-07-24T13:10:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spectator](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@spectator](https://forum.kirupa.com/u/spectator)\
**Post date:** [July 24, 2008, 1:10pm UTC](https://forum.kirupa.com/t/how-to-attach-number-to-a-textfield/266796/1 "2008-07-24T13:10:35Z")

</div>

I know this is a stupid question but I really need help. 🙂 I have a Number variable

```auto
var _num:Number;
_num = 1;

for ( var i:Number = 0; i < 10; i++)
{

num.text = _num;
_num++;
}

```

I know there is no point in this. But my question is how to attach Number to a TextField 🙂  
1067: Implicit coercion of a value of type Number to an unrelated type String.  
How to cope with this problem 🙂
