I have some code here that is acting really weird on my website.
if($balance != $expectedBalance){
echo "balance: ".$balance." - Type:".gettype($balance);
echo "<br>";
echo "expected: ".$expectedBalance." - Type:".gettype($expectedBalance);
But the output of this code is:
balance: 69.95 - Type:double
expected: 69.95 - Type:double
How is that, its really making me go crazy when developing my website. And how do I make it so the if statement actually only runs if the are diffrent?