Float.to_string

You're seeing just the function to_string, go back to Float module for more information.

Specs

to_string(float()) :: String.t()

Returns a binary which corresponds to the text representation of the given float.

It uses the shortest representation according to algorithm described in "Printing Floating-Point Numbers Quickly and Accurately" in Proceedings of the SIGPLAN '96 Conference on Programming Language Design and Implementation.

Examples

iex> Float.to_string(7.0)
"7.0"