# Number variables not adding up

**URL:** <https://forum.kirupa.com/t/number-variables-not-adding-up/172035>\
**Category:** flash\
**Created:** [December 10, 2005, 4:10am UTC](https://forum.kirupa.com/t/number-variables-not-adding-up/172035 "2005-12-10T04:10:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulsheff](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@paulsheff](https://forum.kirupa.com/u/paulsheff)\
**Post date:** [December 10, 2005, 4:10am UTC](https://forum.kirupa.com/t/number-variables-not-adding-up/172035/1 "2005-12-10T04:10:53Z")

</div>

[font=Arial]Hi[/font]

[font=Arial] [/font]

[font=Arial]I’m using loadText function to grab some variables from a php file, the problem is the variables are coming in as strings and so when I try and use them in an addition they’re just sticking them on the end rather than adding the two values together?[/font]

[font=Arial] [/font]

[font=Arial]Is it possible to declare a \_global variable as a number?[/font]

[font=Arial] [/font]

[font=Arial]Cheers[/font]
