R shiny renderDT() decimal point

First of all, thank you very much for taking the time to read

I am now in Rshiny, using "renderDT" to display data, but there is a problem, my original data has a lot of decimal places, but I only want to display two decimal points in renderDT, what parameters do you have to achieve this? function? thank you very much

I've tried options(digits = 2) , it didn't work

thank you very much

Try formatRound(). Have a look at the example: R: Format table columns