Thanks for the question. We're still working out the best API for users to modify the function that styles the percentages. In the meantime, you can use a gtsummary theme to change the function. See example below. There are more details about themes here: gtsummary themes • gtsummary
library(gtsummary)
# set function for rounding percentages
list("tbl_summary-fn:percent_fun" = function(x) sprintf(x * 100, fmt='%#.2f')) %>%
set_gtsummary_theme()
trial %>%
select(grade, response) %>%
tbl_summary()