diff --git a/index.html b/index.html index 8148138..59cf923 100644 --- a/index.html +++ b/index.html @@ -1241,7 +1241,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 @@ -1250,8 +1250,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