# Javascript: TableCellFormat.getTextType Method

> Gets the text type of the table cell which determines whether the cell's text is interpreted as a number or as text When the type is Text, the cell's text is interpreted as text and it is displayed as it is. When the type is Number, the cell's text is interpreted as a number. The period character (.) is defined as decimal separator, the comma character (,) is defined as thousands separator.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TableCellFormat.getTextType Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/#parameters)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/gettexttype-method/#examples)

---

## Nearby

- **Previous:** [Javascript: TableCellFormat.getNumberFormat Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/getnumberformat-method/llms.txt)
- **Next:** [Javascript: TableCellFormat.getVerticalAlignment Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablecellformat/getverticalalignment-method/llms.txt)
