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

Display amount in accepted standard #263

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

Prakhar-Agarwal-byte
Copy link
Contributor

@Prakhar-Agarwal-byte Prakhar-Agarwal-byte changed the title Displa Display amount in accepted standard Mar 8, 2023
@thunderbiscuit
Copy link
Owner

Great stuff, thank you for the PR. For the btc denomination I'm looking at them and my favourite is the one where we use small spaces (I can't remember where I've seen this but it was in a related article). Something like this (from the Medium post you linked) but without the dots:

units

As for the satoshi version, I like how you have it as is.

@thunderbiscuit
Copy link
Owner

If you can rebase this I think it's ready to merge.

@thunderbiscuit thunderbiscuit self-requested a review March 22, 2023 16:47
Copy link
Owner

@thunderbiscuit thunderbiscuit left a comment

Choose a reason for hiding this comment

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

ACK. Thanks! This looks great. I'm not a fan of regex, but when it work it works. 🔥

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.

Use an accepted standard for displaying amounts
2 participants