Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: BoucherS **
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: BoucherS **
Hi,
Without changing anything in the code and using v2.2.1, if I have
```
<xctk:DoubleUpDown Value="12.25" FormatString="0. 'PV'"/>
```
The DoubleUpDown displays "12 PV".
Is this wrong with this FormatString ?