Le mercredi 02 décembre 2015 à 02:41 -0800, Gabor a écrit : > Let ss="10.0 20.0 30.0 90. 90. 90" > > With Julia 3.x I could do this: > v = float64(split(ss)) > > With Julia 4.0 I had to change the code to: > v = [parse(Float64,s) for s=split(ss)] > > Please advise, is there a more compact solution? float(split(ss)) still works, and is documented to produce Float64 when passed strings. The explicit comprehension form is fine too.
Regards
