Skip to content

Commit

Permalink
Correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcl committed Dec 19, 2020
1 parent 4d5ba0f commit 3e17191
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/API.html
Original file line number Diff line number Diff line change
Expand Up @@ -1128,8 +1128,8 @@ <h5 id="int">
<code> BigNumber.ROUND_DOWN</code> respectively.
</p>
<pre>
BigNumber.prototype.round = function (n) {
return n.integerValue(BigNumber.ROUND_HALF_CEIL);
BigNumber.prototype.round = function () {
return this.integerValue(BigNumber.ROUND_HALF_CEIL);
};
x.round() // '123'</pre>

Expand Down

0 comments on commit 3e17191

Please sign in to comment.