I have two variables which is as follows:
$ccharge = ($user_info[0]['charge']) - ($get_exam[0]['price']);
But it results -150000.
Both numbers are 150000 which should result 0, but it doesn't. Is this a familiar issue?
I have found the issue which is related to arrays. I have assigned them to simple variables and it has worked. But I want to know for my future projects.
why such formula causes problems?