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 zeros to native currency price when price is integer #854

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

rin-st
Copy link
Collaborator

@rin-st rin-st commented May 28, 2024

Description

Add zeros to native currency price when price is integer

Additional Information

Before:
Снимок экрана 2024-05-28 в 12 38 48

After:
Снимок экрана 2024-05-28 в 12 39 27

Copy link
Collaborator

@damianmarti damianmarti left a comment

Choose a reason for hiding this comment

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

Looks good!

It doesn't matter too much for ETH because of the high value, but fixed to 2 decimals is better when the value is lower!

Thanks!!

@rin-st
Copy link
Collaborator Author

rin-st commented May 29, 2024

The main point is that it is price, so it's easier to read and understand than 3917 or 3917.3

Merging this, thanks!

@rin-st rin-st merged commit c670c1f into main May 29, 2024
1 check passed
@rin-st rin-st deleted the fix-eth-price branch May 29, 2024 08:57
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.

None yet

2 participants