You need to sign in to do that
Don't have an account?
Chandra Kant Baghel
User Locale impact on Apex.
Hi All
I am facing a weird situation where apex is interpreting same data differently when the user locale is different.
For instance:
When Locale is English(South Africa) apex is parsing <Customfield__c: "12.62"> as 1262.00
Where as When Locale is English(United States) apex is parsing <Customfield__c: "12.62"> as 12.62
Note: The object is passed from aura component to apex method with the field value as mentioned above and then apex receive it as simply (CustomObject__c obj)
Does anybody have any clue , why possibly is this happening.
It would be great if you can add some supportive documentation also.
I am facing a weird situation where apex is interpreting same data differently when the user locale is different.
For instance:
When Locale is English(South Africa) apex is parsing <Customfield__c: "12.62"> as 1262.00
Where as When Locale is English(United States) apex is parsing <Customfield__c: "12.62"> as 12.62
Note: The object is passed from aura component to apex method with the field value as mentioned above and then apex receive it as simply (CustomObject__c obj)
Does anybody have any clue , why possibly is this happening.
It would be great if you can add some supportive documentation also.
Abhinav (Salesforce Developers)
which type of field is this?
Chandra Kant Baghel
Currency type