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