Slide 41
Slide 41 text
def number_to_social(number)
return number_with_delimiter(number) if number < 10_000
number_to_human(number,
precision: 1,
round_mode: :down,
significant: false,
format: "%n%u",
units: {thousand: "K", million: "M", billion: "B"}
)
end
Abbreviated numbers