You still feel like Juliaβs standard library. I can convert strings to their integer representation via int () function, but when I call int () with char, I get an integer value corresponding to the character. Currently, I am calling string () first:
intval = int(string(c))
Is this a common way to do this? Or is there a more standard method? This had a very good effect on my Project Euler exercise.
julia-lang
Rick
source share