Skip to content

Display amount in accepted standard#263

Merged
thunderbiscuit merged 2 commits into
thunderbiscuit:masterfrom
Prakhar-Agarwal-byte:disp-amt
Mar 22, 2023
Merged

Display amount in accepted standard#263
thunderbiscuit merged 2 commits into
thunderbiscuit:masterfrom
Prakhar-Agarwal-byte:disp-amt

Conversation

@Prakhar-Agarwal-byte

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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
Copy Markdown
Owner

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

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

@thunderbiscuit thunderbiscuit left a comment

Copy link
Copy Markdown
Owner

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