is_valid_double

The is_valid_double function indicates whether an expression can be converted into a valid double value.

Category

Validation

Return value

boolean

Returns true if the string can be converted into a valid double; returns false if the string can't be converted into a valid double.

Input values

<input_string>

The expression to be validated.

<format_string>

A string indicating the double format of the input expression. Use pound characters (#) to indicate digits and a decimal. If necessary, include commas as thousands indicators. For example, to specify a double format for numbers smaller than 1 million with 2 decimal digits, use the following string: #,###,###.##'