# Need to convert XML string to int

**URL:** <https://forum.kirupa.com/t/need-to-convert-xml-string-to-int/252892>\
**Category:** Uncategorized\
**Created:** [February 25, 2008, 5:17am UTC](https://forum.kirupa.com/t/need-to-convert-xml-string-to-int/252892 "2008-02-25T05:17:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashNeo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flashneo/32/2143_2.png) [@FlashNeo](https://forum.kirupa.com/u/FlashNeo)\
**Post date:** [February 25, 2008, 5:17am UTC](https://forum.kirupa.com/t/need-to-convert-xml-string-to-int/252892/1 "2008-02-25T05:17:02Z")

</div>

Hello Everyone,

I have a value coming in from an xml file into a variable called “price.” I need this string converted to a int. I have tried many forms such as parse or people’s function but all are designed for static input (ex. “1345”). Can someone please help? Thanks so much.
