diff --git a/language/operators.xml b/language/operators.xml index 026b695381..4f66dba1ec 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ - + Operators @@ -289,9 +289,9 @@ $a = $b += 3; // $a = ($b += 3) -> $a = 5, $b = 5 - The division operator ("/") returns a float value anytime, - even if the two operands are integers (or strings that get - converted to integers). + The division operator ("/") returns a float value unless the two operands + are integers (or strings that get converted to integers) and the numbers + are evenly divisible, in which case an integer value will be returned. @@ -304,16 +304,6 @@ $a = $b += 3; // $a = ($b += 3) -> $a = 5, $b = 5 Math functions. -