thousand separator (space) and decimal separator (.)

Hello,

I'm french and I would like to display numbers with this options : 
  • Thousand Separator : (
    space)
  • Decimal Separator :  (.)
  • grouping by 3
For example : 2,528,255.77 would become 2 528 255.77


How can I do this ?


Thanks.

3 Replies 1 reply marked as answer

SN Sivamathi Natarajan Syncfusion Team October 22, 2020 08:39 AM UTC

 
Thanks for contacting Syncfusion support. 
 
We have checked the reported problem at our end. But we are unable to reproduce the problem. So, we have prepared a sample to trigger pointClick event in pivot chart. Please check the below sample. 
 
Code Example: 
 
 <ejs-pivotview #pivotview id='PivotView' showFieldList='true' width='100%' height='450' 
      [displayOption]='displayOption' [dataSourceSettings]=dataSourceSettings [chartSettings]='chartSettings' (dataBound)='dataBound($event)'> 
    </ejs-pivotview> 
 
pointClick(args: any): void { 
    console.log(args); 
  } 
 
  dataBound(args: any): void { 
    this.pivotObj.chart.pointClick = this.pointClick.bind(this); 
  } 
 
 
 
We hope the above sample meets your requirements. 
 
Regards, 
Sivamathi. 



GM Gauthier MAIROT October 22, 2020 09:23 AM UTC

Hi, 

I think misundertood each other...


For bikes sales, we have :

I would like format numbers like this :
Thousand separator with space, decimal seperator with . , grouping by 3.

Regards, 



SN Sivamathi Natarajan Syncfusion Team October 22, 2020 09:56 AM UTC

 
Sorry for the inconvenience caused. 
 
Please refer the respective *.json files to load the required currency. Meanwhile, we have prepared a sample for your reference with French currencies. Please check the below sample and UG. 
 
 
 
Please check the below screenshot. Here you can customize separators and grouping. 
 
 
 
As per your requirement, you can change the decimal/thousand separators and grouping in numbers.json file. Please check the below screenshot for your reference. 
 
 
Note: The decimal points will change only when the system culture is changed to French. Otherwise, it shows the values in US culture.  
 
 
Regards, 
Sivamathi. 


Marked as answer
Loader.
Up arrow icon