I've updated the 'MarketListItem' to format the priceChangePercentage24h with two decimal places for a consistent and clear display of percentage changes. This change ensures that our users can easily interpret and compare these values.
Test Coverage
The corresponding test suite, RoundToTwoDecimalPlacesTest, has been updated to verify the correctness of the formatting logic, covering various input scenarios.
The goal of this PR is to provide a more polished and consistent user interface, which can positively impact user satisfaction. It also ensures that our codebase remains robust and test-covered.
Explanation of Changes in Pull Request
priceChangePercentage24h
with two decimal places for a consistent and clear display of percentage changes. This change ensures that our users can easily interpret and compare these values.RoundToTwoDecimalPlacesTest
, has been updated to verify the correctness of the formatting logic, covering various input scenarios.shoot:
Thank you for your time and collaboration
Best regards.
Close #147