diff --git a/doc/API.html b/doc/API.html index b790f3c..49dd918 100644 --- a/doc/API.html +++ b/doc/API.html @@ -1236,7 +1236,7 @@ y.ceil() // '-1' if this Decimal and x have the same value - null + NaN if the value of either this Decimal or x is NaN @@ -1245,8 +1245,7 @@ x = new Decimal(Infinity) y = new Decimal(5) x.comparedTo(y) // 1 x.comparedTo(x.minus(1)) // 0 -y.cmp(NaN) // null -y.cmp('110', 2) // -1 +y.cmp(NaN) // NaN