You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/Structure/Arithmetic Operators/division.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ c = a / b; // the variable 'c' gets a value of 5 after this statement is execut
59
59
=== Notes and Warnings
60
60
1. If one of the numbers (operands) are of the type float or of type double, floating point math will be used for the calculation.
61
61
62
-
2. If the operands are of float / double data type and the variable that stores the sum is an integer, then only the integral part is stored and the fractional part of the number is lost.
62
+
2. If the operands are of float / double data type and the variable that stores the result is an integer, then only the integral part is stored and the fractional part of the number is lost.
0 commit comments