> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scalar from Text

## About this Block

**What it does:**
The **Scalar from Text** block converts a Text to a Scalar value.

**Common uses:**

* This block converts the text list output from the **Extract Column** block to a scalar list.

**Tips:**

* This block will process text lists into scalar lists.
* Units will not be recognized and will cause conversion issues.
* No punctuation other than periods or letters are allowed.
* If using exponential notation, ensure no spaces exist before or after the letter `e`.
* Positive and negative exponents are allowed.

***

Convert Text to a Scalar value. Values that cannot be converted will be shown as NaN.

### Inputs

| Name | Type                                               | Description                                                                                                                                                                                                                                                                   |
| ---- | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text | [Text](../../../../block-documentation/types/text) | Text to be converted to a scalar. Note that units are not recognized and no punctuation(other than periods) or letters are allowed. If using exponential notation ensure that there are no spaces before or after the letter e. Positive and negative exponents are accepted. |

### Outputs

| Type                                                   |
| ------------------------------------------------------ |
| [Scalar](../../../../block-documentation/types/scalar) |
