In php I was comparing if 2 quantities are equal or not with if statement. Can anyone explain why these 2 numbers are not equal according to php?
$new_q = 8.345;
$remain_q = 0.075;
$actual_q = $remain_q + 8.270;
if( $new_q !== $actual_q ){
$output['new_q'] = number_format($new_q,20,",",".");
$output['actual_q'] = number_format($actual_q,20,",",".");
print_r($output);
} else {
echo "Numbers are equal";
}