snowflake.snowpark.functions.try_to_double¶
- snowflake.snowpark.functions.try_to_double(e: Union[Column, str], fmt: Optional[Union[Column, str]] = None) Column[source]¶
A special version of TO_DOUBLE that returns NULL instead of raising an error if the conversion cannot be performed. Snowflake’s TRY_TO_DOUBLE only accepts string input.
Example: