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
close icon

SfNumericUpDown shows two % symbols on iOS when FormatString="p" is used

SfNumericUpDown on iOS shows two % symbols initially when FormatString="p" is used. MaximumDecimalDigits="0" is also not working on iOS, it displays values with two decimal points. I want to display integer values (no decimal points). The following is my code:


<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"

  <numeric:SfNumericUpDown HeightRequest="50" WidthRequest="60" VerticalOptions="Center" SpinButtonAlignment="Both" Value="{Binding percentageCompleted,Mode=TwoWay}" TextAlignment="Center" FormatString="p" Minimum="0" Maximum="100" StepValue="1" TextColor="Black" MaximumDecimalDigits="0" PercentDisplayMode="Value" >



using Xamarin.Forms;

namespace NumericUpDown
    public partial class MainPage : ContentPage
        public double PercentageCompleted;

        public double percentageCompleted
                return PercentageCompleted;
                PercentageCompleted = value;

        public MainPage()
            BindingContext = this;
             percentageCompleted= 0;

Please provide me a sample resolving my issue. iOS screenshot has been attached.

Product Version I am using : 15.1451.0.41

Attachment: Screenshot_3b0f1b1c.zip

1 Reply

VA Vanaja  Annasamy Syncfusion Team April 20, 2017 12:18 PM UTC

Hi Sreeenesh,

Query: "MaximumDecimalDigit does not set to zero and getting "%" symbol twice initially, while using binding in SfNumericUpDown in Xamarin.Forms.iOS. "

We have created support incident to track the status of the reported issue has been created under your account.

Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Vanaja R.A.

Live Chat Icon For mobile
Up arrow icon