mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Remove outdated example
This commit is contained in:
parent
dc642c0429
commit
5a916a1de2
@ -1236,7 +1236,7 @@ y.ceil() // '-1'</pre>
|
||||
<td>if this Decimal and <code>x</code> have the same value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='centre'><code>null</code></td>
|
||||
<td class='centre'><code>NaN</code></td>
|
||||
<td>if the value of either this Decimal or <code>x</code> is <code>NaN</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -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</pre>
|
||||
y.cmp(NaN) // NaN</pre>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user