Skip to content

Commit 902ada1

Browse files
committed
corrected mistake in the docs
1 parent 397492f commit 902ada1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/bigAPI.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ <h5 id="mod">mod<code class='inset'>.mod(n) <i>&rArr; Big</i></code></h5>
499499
that of JavaScript's % operator (within the limits of its precision) and
500500
BigDecimal's remainder method.
501501
</p>
502-
<p>Throws if <code>n</code> is negative or otherwise invalid.</p>
502+
<p>Throws if <code>n</code> is zero or otherwise invalid.</p>
503503
<pre>
504504
1 % 0.9 // 0.09999999999999998
505505
x = new Big(1)

0 commit comments

Comments
 (0)