this actually isn't IJ question, just super basic scala.
Very simple thing: how to access the string to number methods to convert a string to a double. I think either the scala Double or the java.lang.Double , either one would be fine. But I can't get them.
val distString = node \\ "distance" text // this correctly gets a string
val distance = new Double distString // compiler error:
val distance = Double parseDouble distString // compiler error:
so how does one do this??