Skip to content

Commit ac7858e

Browse files
committed
Fix HTML tags and double quotes
1 parent d981167 commit ac7858e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Modelica/Math/nearestInteger.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Math.<strong>nearestInteger</strong>(r);
1717
1818
<h4>Description</h4>
1919
<p>
20-
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21-
using the <i>round half away from zero</i> rule with the equation:
20+
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21+
using the <em>round half away from zero</em> rule with the equation:
2222
</p>
2323
<blockquote><pre>
2424
i = <strong>integer</strong>( <strong>floor</strong>( r + 0.5 ) ) for r &gt; 0;
@@ -33,7 +33,7 @@ Math.nearestInteger(0.5); // = 1
3333
Math.nearestInteger(-0.4); // = 0
3434
Math.nearestInteger(-0.5); // = -1
3535
Math.nearestInteger(0.3999999999999999+0.1); // = 0
36-
Math.nearestInteger(1.39999999999999999+0.1); // = 1 (errorneous border case, see note below)
36+
Math.nearestInteger(1.39999999999999999+0.1); // = 1 (erroneous border case, see note below)
3737
</pre></blockquote>
3838
3939
<h4>Note</h4>

0 commit comments

Comments
 (0)