You shouldn't need the `java.lang.` bit. Actually, `valueFilter.toDouble()` would suffice.