# NUMBERVALUE Function

> Convert text to a number with NUMBERVALUE in TX Sheet Control: custom decimal and group separators, percent signs, spaces and the #VALUE! error.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > NUMBERVALUE Function
- **229 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/numbervalue/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/numbervalue/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/numbervalue/llms-full.txt

---

Convert a text to a number, with the decimal and group separators you specify. `text` is the text to convert, `decimal_separator` the character that separates the decimals (a period when omitted) and `group_separator` the character that groups thousands (a comma when omitted). Spaces are ignored, and each percent sign at the end divides the number by 100. Text that is not a number, and in TX Sheet Control also empty text, returns `#VALUE!`.

### Syntax

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

Category: Text. Minimum arguments: 1. Maximum arguments: 3.

Available for supported offline calculation.

### Examples

```text
=NUMBERVALUE("1,234.5")
```

The formula returns 1234.5.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [NPV Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/npv/llms-full.txt)
- **Next:** [OCT2BIN Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/oct2bin/llms-full.txt)
