Skip to content

Commit d7989dd

Browse files
authored
Merge pull request #622 from tomb0x/patch-1
sum -> result [Notes and Warnings 2.]
2 parents 2e4da45 + 18c1f9a commit d7989dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Language/Structure/Arithmetic Operators/division.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ c = a / b; // the variable 'c' gets a value of 5 after this statement is execut
5959
=== Notes and Warnings
6060
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.
6161

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.
6363

6464
[source,arduino]
6565
----

0 commit comments

Comments
 (0)