For some reason when I make the calculation by multiplying by a floating value, PHP always returns the wrong value.
Example:
echo ((33 * 0.8) - 26.4);
result: 3.5527136788005E-15
But the expected result would be 0
I could not find any answer to this problem, because if I perform the calculation to get 80% of the value differently it works.
Example:
echo (((33 * 80) / 100) - 26.4);
result: 0