# int vs float $str1 = 0.00; $str2 = 0; $str1 += $str2; print "str1 $str1\n"; Result: str1 0