Salesforce Fact #882 | Handling decimal data in LWC returned from apex wrapper

We need to be careful while dealing with large decimal values in LWC returned from apex in wrapper structure. If the value is large, it is converted to String to avoid any loss of precision.

Reference: https://salesforce.stackexchange.com/questions/327214/lwc-autoconverting-decimal-into-string-sf-bug

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow