javascript arithmetic operators

I have a multilingual application that is "language" localized in terms of page content. But some forms are using simple arithmetic to calculate some field values based upon user input. So 1.1*2 = 2.2 works but in Romanian where a fraction is written as 1,1 the calculation becomes 1,1*2 = 2,2 this fails as NaN. So what to do?


2 Replies

YA YuvanShankar Arunagiri Syncfusion Team July 29, 2022 06:15 AM UTC

Hi Sanskar,


Sorry for the delay. We are validating your query and will update you the details on or before 3rd August 2022.


Regards,

YuvanShankar A



YA YuvanShankar Arunagiri Syncfusion Team August 24, 2022 06:59 AM UTC

Hi Sanskar,


We have prepared a grid and numeric textbox sample with the Romanian locale, but we are unable replicate your reported issue. Please refer to the below sample links.

Grid: https://stackblitz.com/edit/owhxzh?file=index.ts,package.json,index.html,data-source.ts

Numeric textbox: https://stackblitz.com/edit/1cqfie-skzdak?file=index.ts


If the issue still persist at your end, kindly provide the issue reproducing sample, so that we can assist you to achieve your requirement.


Regards,

YuvanShankar A


Loader.
Up arrow icon