From 18c1f9a1dea66c83a58bec3edf5d3f7ba2070161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pud=C5=82o?= <50989199+tomb0x@users.noreply.github.com> Date: Tue, 11 Jun 2019 13:56:53 +0200 Subject: [PATCH] sum -> result [Notes and Warnings 2.] --- Language/Structure/Arithmetic Operators/division.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Language/Structure/Arithmetic Operators/division.adoc b/Language/Structure/Arithmetic Operators/division.adoc index 7fd4fea5e..12ae3b8bb 100644 --- a/Language/Structure/Arithmetic Operators/division.adoc +++ b/Language/Structure/Arithmetic Operators/division.adoc @@ -59,7 +59,7 @@ c = a / b; // the variable 'c' gets a value of 5 after this statement is execut === Notes and Warnings 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. -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. +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. [source,arduino] ----