Skip to content

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. 🔥

@thunderbiscuit thunderbiscuit merged commit 4bb6d64 into thunderbiscuit:master Mar 22, 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.

Use an accepted standard for displaying amounts

2 participants