Skip to content

Commit 142d37e

Browse files
author
Jonathan Feinberg
committed
Merge pull request jdf#90 from Prabhnith/patch-3
Fixed Issue:(2) Text body goes out of the page in float.html jdf#88
2 parents 8b52dc7 + 428d2a0 commit 142d37e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎Reference/api_en/float.xml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,12 @@ c = a + b
2626
f = 0
2727
for i in range(100000):
2828
f = f + 0.0001 # Bad idea! See below.
29+
2930
for i in range(100000):
30-
# The variable 'f' will work better here, less affected by rounding
31-
f = i / 1000.0 # Count by thousandths
31+
# The variable 'f' will work better here,
32+
# less affected by rounding
33+
# Count by thousandths
34+
f = i / 1000.0
3235
]]></code>
3336
</example>
3437

0 commit comments

Comments
 (0)