We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfNumericUpDown not work properly

<my:SfNumericUpDown x:Name="nud_anno" Grid.Row="0" Grid.Column="0" FormatString="N0" Value="2019" Minimum="2000" Maximum="9999" IsEditable="False" MaximumNumberDecimalDigits="0" />

Show number with dot => 2.019

It's no correct. How to fix it?

Thanks a lot

3 Replies

RA Rachel A Syncfusion Team November 5, 2019 09:39 AM UTC

Hi Gianfranco, 
  
Greetings from Syncfusion. 
  
We suspect that your device culture is set to Italian. As per the Italian culture, dot is considered as GroupSeparator and comma is considered as DecimalSeparator. 
 
By default, as the GroupSeparator is enabled in the SfNumericUpDown control. So, the group separator will be added automatically based on device culture. You can avoid it by setting the EnableGroupSeparator property as False in the SfNumericUpDown. 
 
Please find the code snippet to achieve the same.  
 
[XAML]  
<my:SfNumericUpDown x:Name="nud_anno" FormatString="N0" Value="2019" Minimum="2000" Maximum="9999" IsEditable="False" MaximumNumberDecimalDigits="0" EnableGroupSeparator=” False” /> 
  
Please let us know if you need further assistance on this. 
 
Thanks, 
Rachel. 



GP Gianfranco Percopo November 8, 2019 09:51 AM UTC

Great! Awesome control for uwp... Many many many Thanks! Good work :)


RA Rachel A Syncfusion Team November 8, 2019 12:35 PM UTC

Hi Gianfranco, 
 
Thank you for the feedback. 
 
Regards, 
Rachel. 


Loader.
Up arrow icon