$package_with_fee = $packages_lot_qty * 1.1;
$total_sum = floatval($total_sum);
$package_with_fee = floatval($package_with_fee);
echo "Total sum is $total_sum vs Package with fee cost $package_with_fee";
if( $total_sum != $package_with_fee)
{
echo "ERROR";
}
When I run the code, this is what I get
Total sum is 3300 vs Package with fee cost 3300ERROR
I not sure why its wrong, both php variables are 3300, but its just doesn't match and throw error. what could went wrong?