I crossed this behavior when converting a C code that used atoi() and atof()

julia> a="12"
"12"

This is fine, we get the number

julia> float(a)
12.0

but now, surprise, we get the ASCII code

julia> float(a[2])
50.0

Reply via email to