I have code that looks like this:
with $trade_total's value of 1000 and $trade_total_redeemed's value of 100, I get a result of -99
That's 1000 - 100 = -99?!
I have been through the code numerous times and can't figgure out what the heck is going on.
TIA,
-A
Code:
$trade_avail = $trade_total - $trade_total_redeemed ;
$trade_avail = number_format($trade_avail,2);
with $trade_total's value of 1000 and $trade_total_redeemed's value of 100, I get a result of -99
That's 1000 - 100 = -99?!
I have been through the code numerous times and can't figgure out what the heck is going on.
TIA,
-A