Convert this String to double, returns None for invalid inputs.
Option<double> toDoubleOption(String str) => str.toDoubleOption;