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

support fixed-point in balance and amount #25

Open
1 task
jackyjia opened this issue Oct 26, 2022 · 0 comments · May be fixed by #26
Open
1 task

support fixed-point in balance and amount #25

jackyjia opened this issue Oct 26, 2022 · 0 comments · May be fixed by #26
Assignees
Labels

Comments

@jackyjia
Copy link
Contributor

jackyjia commented Oct 26, 2022

Background

Current version of Amount and Balance only support integer, while in reality, they are usually high-precision value.
Will use fixed-point to represent floating number because calc value needs to be accurate and precise.

Acceptance Criteria

  • add a v2 of Amount and Balance, which use fixed-point to represent high-precision value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant