You should not put numbers, especially floats, in quotes. PHP will assign it initially as a string.
Anyway, floating numbers can go on after the decimal point, so the calculation value is a low number, that it's best to use round. Use type casting to tell PHP what you want. Example:
$a = (float) 86.85;
$b = (float) 347.71;
$c = (float) 260.86;
$tot = (float) $a + $c;
$diff = (float) round($tot - $b, 2);
echo $diff; // displays zero
EDIT:
You know PHP and other languages store floating point numbers in binary form with only limited numbers. You should not compare two floating numbers with an equal comparison because they don't always calculate to exact values. To compare two floats you can check if one number is within a very small amount of the second number. Example:
$diff = 0.00001;
$nbr1 = 5.00000001;
$nbr2 = 5.0;
if (abs($nbr1 - $nbr2) < $diff) {
echo 'Consider the numbers as equal'; // displays this message
} else {
echo 'The numbers are not equal';
}