Pablo-source / Basic-Shiny-app

Shiny app using Bootstrap framework, including Plotly and Leaflet interactive charts and maps. It displays confirmed, recovered and death COVID cases, using data from (JHU CSSE) repository.
MIT License
2 stars 0 forks source link

Remove decimal places in main KPI indicators keeping one decimal place for day to day metric change #3

Open Pablo-source opened 2 weeks ago

Pablo-source commented 2 weeks ago

KPI figures, reduce number of decimal places for main KPI figures

Before

image

After

image

Using this code below:

image

Pablo-source commented 2 weeks ago

I only want to see one decimal place in the day to day metric change, and none in the main figure displayed as indicator in the KPI:

This is the final output

image