Salesforce Fact #879 | Removing decimals in JS

In order to remove decimals from a number in JS, we can make use of the bitwise not operator. Same can be used in LWC.

Attached is an example screenshot.



Comments

Popular posts from this blog

Salesforce Fact #913 | Access selected record field values in screen flow lookup w/o Get Records