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

[Feature Request] Force 8 decimal places on amount and fee values #1547

Open
ottosch opened this issue Nov 30, 2024 · 0 comments
Open

[Feature Request] Force 8 decimal places on amount and fee values #1547

ottosch opened this issue Nov 30, 2024 · 0 comments

Comments

@ottosch
Copy link

ottosch commented Nov 30, 2024

In some places, decimal places are trimmed if the last digits are zero. I think this can lead the user to send the wrong amount and is inconsistent with some other places.

For example, the "balance" and "value" columns of "Transactions/UTXOs" grid always display 8 decimal places, but the "send" button and "amount" and "fee" inputs of the send view don't.

utxos
send

I noticed this can be adjusted with setMinimumFractionDigits(8) on UnitFormat::getBtcFormat() for the send button, although "Mempool" label will display "0.00000000 BTC" instead of "0 BTC" (which I'm ok with, but might be undesirable) and on CoinFilter::coinFormat for the text fields.

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

No branches or pull requests

1 participant