Open francisrstokes opened 2 years ago
This fix breaks some other tests - some of which are likely easy to accommodate for and some might need some more investigation. This PR is mostly to get the discussion started for allowing sane comparisons of Decimals.
This PR implements the
Symbol.toPrimitive
method, which provides a strategy to convert a decimal to a number when comparisons like less than, greater than, etc.This PR should close #172.