data.frame manipulating function by dplyr::across

dt_round(d, digits = 2)

dt_chr2num(d, fun = as.numeric)