# NumberFormatException Class

> The NumberFormatException class informs about an invalid syntax of a numberformat used to display a formula result.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 26.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Inherits:** `System.Exception`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > NumberFormatException Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/#members)

---

## In This Section

- [NumberFormatException.CharacterIndex Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/characterindex-property/llms.txt): Gets the one-based character index of the first invalid character in the numberformat string.

---

## Nearby

- **Previous:** [NumberFormat Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformat/enumeration/llms.txt)
- **Next:** [NumberFormatException.CharacterIndex Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/numberformatexception/characterindex-property/llms.txt)
