# 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

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FEAiKqmMTtuQqEcB1ARyA%2Fimage.png?alt=media&#x26;token=4af58dc3-64ff-4780-aaff-8e73704304ac" alt="" data-size="line"> - String of separated values to be transformed. You must enter the separator in the parameter below.

### Output data

<img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FdP8XXsNkIsf9ARUm8sSh%2Fimage.png?alt=media&#x26;token=ba74684e-e888-4134-9aa1-e3a1e8c666ab" alt="" data-size="line"> - 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](https://onum.gitbook.io/onum-docs/the-workspace/pipelines/actions) 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:

<pre><code><strong>"3.14" -> 3.14
</strong></code></pre>

{% hint style="info" %}
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.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onum.com/the-workspace/pipelines/actions/transformation/field-transformation/field-transformation-operations/conversion/string-to-float.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
