Integer.to_string/2

defmodule Integer do
  def to_string(integer, base \\ 10)
end

Returns a binary which corresponds to the text representation of integer.

If base is provided then integer is converted given that base.