Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit c89f15b

Browse files
committed
Document less-than, equals, and compare
1 parent 4df57cb commit c89f15b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This library is a prototype for the [decimal proposal](https://github.com/tc39/p
1212
- remainder (`remainder`)
1313
- rounding (`round`)
1414
- `toString` emitting both decimal and exponential syntax (default is decimal)
15+
- less-than (`lessThan`) and equals (`equals`) to compare by mathematical value
16+
- `compare` for comparing Decimals as digit strings (e.g. `1.2` < `1.20`)
1517

1618
## Comparisons
1719

0 commit comments

Comments
 (0)