I am trying to do a basic calculation in PHP, but I am getting an incorrect result. I am trying to retrieve a number from an array, but for some reason it appears that the number returned is missing all of the digits after the comma.
For example, I am trying to retrieve 53,932 from the array, but when I cast using
the number returned is only 53.
Do I need to cast the value as an integer before trying to retrieve it from the array?