# MeasureConverter.ShowAllDecimals Property

> Gets or sets a value specifying whether all decimals set with the Decimals property are shown, when the result is a string. If 3 decimals are set and the value is 15.5, the resulting string contains 15.500 when ShowAllDecimals is true and 15.5 when ShowAllDecimals is false. If the result is a double, this property has no meaning.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > MeasureConverter.ShowAllDecimals Property
- **438 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/showalldecimals-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/showalldecimals-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/showalldecimals-property/llms-full.txt

---

### Description

Gets or sets a value specifying whether all decimals set with the [Decimals](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/decimals-property/llms-full.txt) property are shown, when the result is a string. If 3 decimals are set and the value is 15.5, the resulting string contains 15.500 when ShowAllDecimals is true and 15.5 when ShowAllDecimals is false. If the result is a double, this property has no meaning.

### Syntax

```csharp
public bool ShowAllDecimals { get; set; }
```

```vbnet
Public Property ShowAllDecimals As Boolean
```

### Examples

The following example uses `MeasureConverter.ShowAllDecimals` to configure show all decimals as part of the measure converter workflow. The configured value is checked before the workflow continues.

```csharp
measureConverter.ShowAllDecimals = true;
if (measureConverter.ShowAllDecimals)
{
    Console.WriteLine("Measure Converter: Show All Decimals is enabled.");
}
```

```vbnet
measureConverter.ShowAllDecimals = True
If measureConverter.ShowAllDecimals Then
    Console.WriteLine("Measure Converter: Show All Decimals is enabled.")
End If
```

---

## Nearby

- **Previous:** [MeasureConverter.Decimals Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/decimals-property/llms-full.txt)
- **Next:** [MeasureConverter.Unit Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/measureconverter/unit-property/llms-full.txt)
