R/tools.R
format_num_kMB.Rd
Formats a big number as k (1 000), M (1 000 000) or B (1 000 000 000)
format_num_kMB(number = 0, digits = 1)
A number (integer or real)
Number of digits
Formatted number as text
format_num_kMB(5500, digits = 2) #> [1] "5.5k"