PHP 5.2 is treating negative numbers as strings
Thankyou for reading.
Im pulling numbers off of a csv file.
In PHP 5.4 there isnt a problem.
In PHP 5.2 on a linux server that i have no means of access, -100.00 is not seen as numeric, is displayed as (100.00) and if i try and typecast or add/subtract etc it becomes 0.
Really suspect its a bug with this PHP release but im stuck with it!
Can anyone offer any suggestions? Google for the first time ever re: PHP came up empty! Surely im not the only one who has encountered this issue.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)