Milan: This is the solution for me. So float64(split(ss)) is deprecated but float(split(ss)) is not.
Eric: I also see the logic, but similar code occurs at many places. I prefer as little eye clutter as possible. On Wednesday, December 2, 2015 at 11:48:41 AM UTC+1, Milan Bouchet-Valat wrote: > > 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 >