1

I am building a shiny app, and i have difficulties fixing the decimal places in mutate results. What i need is that, to add comma in the GDP.Scenario & Job.Scenario, meaning that the numbers appear as 1,000,000 for example.

The code and the Shiny result are as in the pictures. enter image description here

enter image description here

i tried to add some specifications in the mutate function such as across() but it did not work

Ebtihaj
  • 19
  • 1
  • 2
    You need to provide sample code with sample data that represents your problem and can be copied, not retyped from an image. Anyway, looks like you've left out the part where the table is output. – markhogue Oct 31 '22 at 11:33
  • 2
    Welcome to SO! You should provide a reproducible example with code and data because others could help you. This link might help you: https://www.r-bloggers.com/2020/10/how-to-make-a-reprex/ – Josep Pueyo Oct 31 '22 at 11:35
  • 1
    The issue is almost certainly is the displaying the table, not in the `mutate()` call which creates the column. Please provide the code which displays the table. – Paul Stafford Allen Oct 31 '22 at 11:40

0 Answers0