From 5a916a1de277dc70613220d7f7ea2ea50bd021e6 Mon Sep 17 00:00:00 2001 From: Michael Mclaughlin Date: Mon, 29 Feb 2016 19:24:10 +0000 Subject: [PATCH] Remove outdated example --- doc/API.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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