PassiveSupport.Integer.formatted

You're seeing just the function formatted, go back to PassiveSupport.Integer module for more information.
Link to this function

formatted(integer, opts \\ [])

Specs

formatted(integer(), separator: String.t(), spacing: integer()) :: String.t()

Converts an integer to a string, with a separator (default ",") inserted, starting in from the right side of the number, spaced apart by the number of digits specified by spacing (default 3).

Examples

iex> formatted(57468291379)
"57,468,291,379"
iex> formatted(57468291379, separator: "_")
"57_468_291_379"
iex> formatted(57468291379, spacing: 4)
"574,6829,1379"