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. (Last updated on: November 16, 2018).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
Syncfusion Feedback

Currency format displayed incorrectly in Android

Thread ID:





127893 Dec 15,2016 11:41 PM UTC Dec 19,2016 03:35 AM UTC Xamarin.Forms 1
Tags: SfDataGrid
Ian Nájar
Asked On December 15, 2016 11:41 PM UTC

In a DataGrid, in a GridTextColumn I'm trying to format the value in currency format. It works in WinRT, but in Android negative numbers are displayed with parenthesis:

Should show: $ -21901.23
But formats like this: (21901.23)

This is what I currently using:
<syncfusion:GridTextColumn HeaderText="SALES VS GOALS" Format="C"
                                   MappingName="sales_vs_goals" >

I also tried GridTemplates by setting CellTemplates using Labels to display, with same results.

<syncfusion:GridTemplateColumn HeaderText="SALES VS GOALS"
                                 MappingName="sales_vs_goals"  >
                <ColumnDefinition Width="Auto" />
              <Label Text="{Binding sales_vs_goals}" Grid.Column="0" TextColor="Black"  XAlign="Center" YAlign="Center"></Label>

Ashok N [Syncfusion]
Replied On December 19, 2016 03:35 AM UTC

Hi Ian, 

Thanks for contacting Syncfusion support. 

We have checked your query and Currency format will be display based on the Language region in our machine/Device. With your example you have language as US. Negative values will be displayed within the parentheses in US, this is US default business format for negative values. If you need to shows the negative values , you have change the language in your device. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon