A set of React components powering a web app for exploring centralized, standardized metrics on the performance of justice systems across the United States
Currently percentage change will show all the decimals that are included in the fixture file, instead of limiting to whole percentages
To Reproduce
Steps to reproduce the behavior:
Change stateCode to US_CT (keeping existing checked fixture file)
Run yarn start
Observe long decimals in percentages
Expected behavior
This should limit to whole percentages, @hobuobi if there is any preference on rounding vs truncating, or just keep it consistent with the logic for the line graphs.
Screenshots
Screenshots revealing sensitive information must not be shared. If a screenshot is helpful in diagnosing and resolving the bug, please send this directly to a contact on the Recidiviz team.
Desktop (please complete the following information): running locally
Additional context
Add any other context about the problem here.
Describe the bug
Currently percentage change will show all the decimals that are included in the fixture file, instead of limiting to whole percentages
To Reproduce Steps to reproduce the behavior:
stateCode
toUS_CT
(keeping existing checked fixture file)yarn start
Expected behavior
This should limit to whole percentages, @hobuobi if there is any preference on rounding vs truncating, or just keep it consistent with the logic for the line graphs.
Screenshots Screenshots revealing sensitive information must not be shared. If a screenshot is helpful in diagnosing and resolving the bug, please send this directly to a contact on the Recidiviz team.
Desktop (please complete the following information): running locally
Additional context Add any other context about the problem here.