A.Integer.decimal_format
You're seeing just the function
decimal_format
, go back to A.Integer module for more information.
Format integers for humans, with thousand separators.
Examples
iex> A.Integer.decimal_format(1_234_567)
"1,234,567"
iex> A.Integer.decimal_format(-123)
"-123"
iex> A.Integer.decimal_format(-1_234, separator: ?_)
"-1_234"