# What's this array? Numeric or String?

**URL:** https://forum.kirupa.com/t/whats-this-array-numeric-or-string/331498
**Category:** Uncategorized
**Created:** [August 13, 2013, 5:16am UTC](https://forum.kirupa.com/t/whats-this-array-numeric-or-string/331498 "2013-08-13T05:16:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ajoo](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ajoo](https://forum.kirupa.com/u/ajoo)
#### Post date: [August 13, 2013, 5:16am UTC](https://forum.kirupa.com/t/whats-this-array-numeric-or-string/331498/1 "2013-08-13T05:16:58Z")

</div>

Hi guys I have been going nuts trying to retrieve a numeric array from php using sendAndLoad. While the values retrived from a database are numeric, the values loaded into flash are strings.  
So when i load the values into flash and use an operation like addition I get one long concatenated string of Numerics instead of their sum.

e.g an array say arr[23,24,25,26,27] displays the result as 23242526272 instead of adding them & giving 125 on the following operation arr[0]+arr[1]+arr[2]+arr[3]+arr[4].

Please can someone say how can i rectify this miserable situation.

Thanks in advance.
