Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comparison methods to Decimal class #217

Merged
merged 5 commits into from
Jun 10, 2020
Merged

Conversation

willclarktech
Copy link
Contributor

Closes #214

Copy link
Member

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@willclarktech
Copy link
Contributor Author

@webmaster128 Updated, now with a public compare method. I would wait to extract the type signature until we implement the comparisons for Integer.

packages/faucet/src/tokenmanager.ts Show resolved Hide resolved
packages/math/src/decimal.ts Outdated Show resolved Hide resolved
@webmaster128 webmaster128 merged commit bb3cd13 into master Jun 10, 2020
@webmaster128 webmaster128 deleted the 214-decimal-comparisons branch June 10, 2020 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add comparison operators on Decimal type in @cosmjs/math
2 participants