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