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

Swap max digits #55

Merged
merged 3 commits into from
Oct 19, 2023
Merged

Swap max digits #55

merged 3 commits into from
Oct 19, 2023

Conversation

pinglu-pingu
Copy link
Collaborator

Created utils functions to format numbers (fixed decimals, max decimals, trim to max decimals)
Format all numbers on swap to have at most 4 decimals (and not allow having a number with more than 4 decimals as input)

maximum decimals on swap = 4
@pinglu-pingu pinglu-pingu linked an issue Oct 19, 2023 that may be closed by this pull request
@jorvixsky jorvixsky merged commit f7bb4e0 into master Oct 19, 2023
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.

Swap page : Only show 4 digits after the decimal point
2 participants