exibble |>
dplyr::select(num, char) |>
gt() |>
fmt_integer(
columns = num,
use_seps = FALSE
)| num | char |
|---|---|
| 0 | apricot |
| 2 | banana |
| 33 | coconut |
| 444 | durian |
| 5550 | NA |
| NA | fig |
| 777000 | grapefruit |
| 8880000 | honeydew |
fmt_integer() functionUse exibble to create a gt table. format the num column as integer values having no digit separators (with the use_seps = FALSE option).