Parses a string into a number. Falls back to the chosen value if the string is not a valid number.
Interface
Inputs
| Parameter | Details | Possible Types |
|---|---|---|
| String | The string containing a number. Surrounding whitespace is ignored, a decimal point (.) may be included, sign prefixes (+/-) are respected, and scientific notation (e.g. "1e-3") is supported. Primary Input | String |
| Fallback | The value of the result if the string cannot be parsed as a valid number. Default: | f64 |
Outputs
| Product | Details | Possible Types |
|---|---|---|
| Result | The value produced by the node operation. Primary Output | f64 |