# NUMBERVALUE

The NUMBERVALUE function converts text into a numeric value by correctly interpreting decimal and thousands separators, such as commas and periods. It is useful when working with numbers stored as text, especially when data formats vary across regions or sources.

### Syntax

```javascript
NUMBERVALUE(text, decimal_separator, group_separator)
```

### Arguments

text - The text to be converted to number (Required).

decimal\_separator - The character used to differentiate between the integer and the fractional part of a number (Optional).

group\_separator - The character used as a thousand separator (Optional).

### Example

```javascript
NUMBERVALUE("2.456,78", ",", ".")
```

In this example, the Interest column is a data input field with text data. We've used the NUMBERVALUE function to convert the Interest text field to a numeric field that aligns with the other measures in the report.

<figure><img src="/files/p21jYohxZw5IH9EVodGl" alt="How to use the NUMBERVALUE function to convert the Interest text field to a number"><figcaption><p>Using the NUMBERVALUE function to convert the Interest text field to a number</p></figcaption></figure>


---

# 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.inforiver.com/formula-syntax/math-functions/numbervalue.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.
