# CsvLoadOptions.DecimalSeparator Property

> CsvLoadOptions.DecimalSeparator property in the TX Sheet Control .NET API: Decimal separator used by inference: period (default) or comma.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > CsvLoadOptions > CsvLoadOptions.DecimalSeparator Property
- **601 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/decimalseparator-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/decimalseparator-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/decimalseparator-property/llms-full.txt

---

Decimal separator used by inference: period (default) or comma. Thousands separators are not inferred.

### Syntax

```csharp
public string? DecimalSeparator { get; init; }
```

### Property Value

`string?`.

### Examples

Import customer orders, configure bounded tabular exchange and export the processed values or a formatted workbook.

```csharp
using TXTextControl.TXSheetControl.Server;

async Task<byte[]> ExchangeOrderDataAsync(ServerSheetControl control)
{
    await control.LoadTextAsync("Customer;Amount\nMüller;125,5", StreamType.CSV, new CsvLoadOptions { SheetName = "Orders", InferTypes = true, MaxFileBytes = 1048576, MaxRows = 1000, MaxColumns = 20, MaxCells = 20000, Delimiter = ";", DecimalSeparator = "," });

    var sheet=await control.Workbook.Sheets.AtAsync(0);
    await sheet.Range("A1:B1").FormatAsync(new { bold=true });
    return await control.SaveAsync(StreamType.SpreadsheetML);
}
```

### Remarks

Use the member with an instance or settings object from the documented package. Await task-returning operations. Document-bound handles must be resolved again after loading or deleting their owner.

### See Also

- [CsvLoadOptions Class](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/llms-full.txt)
- [CSV, XML and JSON Data](https://docs.textcontrol.com/tx-sheet-control/document-processing/tabular-data/llms-full.txt)

---

## Nearby

- **Previous:** [CsvLoadOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/constructor/llms-full.txt)
- **Next:** [CsvLoadOptions.Delimiter Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/csvloadoptions/delimiter-property/llms-full.txt)
