String to float

Description

This operation converts a numeric string into a float value. The input string must represent a valid floating-point number (e.g., 3.14 or 1e-2). The conversion supports both decimal and scientific notations.


Data types

These are the input/output expected data types for this operation:

Input data

- String of separated values to be transformed. You must enter the separator in the parameter below.

Output data

- Resulting values after transforming them into a list of comma-separated values.


Example

Suppose you want to convert a series of strings into their corresponding float values:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose String to float.

  3. Give your Output field a name and click Save. The numeric string values in your input field will be transformed into float values. For example:

"3.14" -> 3.14

You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.

Last updated

Was this helpful?