[erlang-questions] how do I convert a character to an integer (dict broke the integer I put into it)
Dominic Chambers
dominic.chambers@REDACTED
Sun Dec 16 10:56:29 CET 2007
Hi Everyone,
I add some integers as values into a dict, but when I go to retrieve
them they are now strings. After an hour of googling the only thing I
can find online is that $c does what I want for character literals,
but this doesn't seem to work for character variables. I need this
because adding to the number I get out of the dict gives me a badarith
error.
Thanks for any help, Dominic.
More information about the erlang-questions
mailing list