# XML Number Parsing

**URL:** https://forum.kirupa.com/t/xml-number-parsing/200933
**Category:** programming
**Created:** [September 16, 2006, 8:22pm UTC](https://forum.kirupa.com/t/xml-number-parsing/200933 "2006-09-16T20:22:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sovata](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/sovata/32/2824_2.png) [@sovata](https://forum.kirupa.com/u/sovata)
#### Post date: [September 16, 2006, 8:22pm UTC](https://forum.kirupa.com/t/xml-number-parsing/200933/1 "2006-09-16T20:22:20Z")

</div>

Simple question, yet I have no idea what to do. So I want Flash to treat a data from a XML node as a Number. I tried putting it in a

```auto
Number (<expression>)

```

but it didn’t work. The only working solution so far is to give a text field the value of the node and then to use the code above to turn the \_txt.text value to a Number. It DOES work, but I really don’t feel like doing this with every single Number value I have. Besides, it is pretty lame way of getting this problem solved. So, if anyone could help me - please, it is quite urgent! And thank you in advanced.
