I know strings in Erlang can be costly to use. So how do I convert \"5\"to 5?
\"5\"
5
Is there anything like io:format(\"~p\",[5]) tha
io:format(\"~p\",[5])
There's also integer_to_list/1, which does exactly what you want, without the ugliness.
integer_to_list/1