Converts the string to a double. Returns NaN if parsing fails.
double toFloat() => double.tryParse(this) ?? double.nan;