String To Number

This Node Is Deprecated — This version of the node has been replaced with a new and improved version. The old version is kept for backwards-compatibility, but for all new workflows we suggest to use the version linked below.
Go to Suggested ReplacementString To Number

Converts strings in a column (or a set of columns) to numbers. If the node fails to parse a string, it will generate a missing cell and append a warning message to the KNIME Console with detailed information.

Options

Type
Choose the DataType that your string should be converted to.
Decimal Separator
Choose a decimal separator, which is used to mark the boundary between the integral and the fractional parts of the decimal string.
Thousands Separator
Choose a thousands separator used in the decimal string to group together three digits.
Accept type suffix, e.g. 'd', 'D', 'f', 'F'
When checked, the type suffix will be accepted, otherwise it fails to parse input like 1d. These suffixes are typically used in java-style programs to represent floating point numbers ('f' for float and 'd' for double). Default is not checked.
Column Selection
Move the columns of interest into the "Include" list

Input Ports

Icon
Arbitrary input data.

Output Ports

Icon
Input data with new DoubleTypes.

Views

This node has no views

Workflows

Further Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.