Formats a number depending on the value as number with space, scientific or big number as k (1 000), M (1 000 000) or B (1 000 000 000)
Examples
format_num_kMB(5500, digits = 2)
#> [1] "5.5k"
Formats a number depending on the value as number with space, scientific or big number as k (1 000), M (1 000 000) or B (1 000 000 000)
format_num_kMB(5500, digits = 2)
#> [1] "5.5k"