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 2 decimal places for fiat trading fees #3973

Merged
merged 1 commit into from Feb 21, 2020
Merged

Display 2 decimal places for fiat trading fees #3973

merged 1 commit into from Feb 21, 2020

Conversation

ghost
Copy link

@ghost ghost commented Feb 15, 2020

Fixes #3972

Fixes an issue where fiat trading fees were being rounded to the nearest whole dollar.

Tests pass, as did my visual sanity checks:

3972-0
3972-1

Copy link
Contributor

@stejbac stejbac left a comment

Choose a reason for hiding this comment

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

To avoid duplication, it might be better to use DisplayUtils.formatAverageVolumeWithCode. (I added that method specifically to restore the original behaviour of formatVolumeWithCode where needed.)

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

NACK - please see #3973 (review)

@ripcurlx
Copy link
Contributor

@milesap Did you see #3973 (review)?

@ghost
Copy link
Author

ghost commented Feb 20, 2020

Sorry got distracted, pushed updated code per the review. @ripcurlx

@ghost ghost requested review from stejbac and ripcurlx February 20, 2020 15:48
@ripcurlx
Copy link
Contributor

ACK

Tested it on Mainnet and it works again as in v1.2.5-

@ripcurlx ripcurlx merged commit adafd40 into bisq-network:master Feb 21, 2020
@ripcurlx ripcurlx added this to the v1.2.8 milestone Feb 26, 2020
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.

Trading fee decimals not displayed
3 participants