Format raw numbers to more readable strings. For example, 1000 will be converted to "1K". Supported suffixes are "K", "M", and "B".
Examples
print(pretty_number(134999))
#> [1] "135K"
Format raw numbers to more readable strings. For example, 1000 will be converted to "1K". Supported suffixes are "K", "M", and "B".
print(pretty_number(134999))
#> [1] "135K"