From c1f191e2c8ebf855a12196f934d2ef185e41f7b6 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Thu, 9 Apr 2020 23:08:01 +0200 Subject: [PATCH] Fix HTML tags and double quotes --- Modelica/Math/nearestInteger.mo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modelica/Math/nearestInteger.mo b/Modelica/Math/nearestInteger.mo index 6c5050c9e6..21f2af987c 100644 --- a/Modelica/Math/nearestInteger.mo +++ b/Modelica/Math/nearestInteger.mo @@ -17,8 +17,8 @@ Math.nearestInteger(r);

Description

- The input value \"r\" of type Real is converted to the closest Integer value \"i\", - using the round half away from zero rule with the equation: + The input value \"r\" of type Real is converted to the closest Integer value \"i\", + using the round half away from zero rule with the equation:

 i = integer( floor( r + 0.5 ) )  for  r > 0;
@@ -33,7 +33,7 @@ Math.nearestInteger(0.5);                     // = 1
 Math.nearestInteger(-0.4);                    // = 0
 Math.nearestInteger(-0.5);                    // = -1
 Math.nearestInteger(0.3999999999999999+0.1);  // = 0
-Math.nearestInteger(1.39999999999999999+0.1); // = 1 (errorneous border case, see note below)
+Math.nearestInteger(1.39999999999999999+0.1); // = 1 (erroneous border case, see note below)
 

Note