Mode Program Salesforce Apex Trigger
Firstly we have to create an object of name “ MPC__c“.

This apex trigger takes two fields
1. Mode_Output__c, 2. Values_to_calculate_mode__c.


In statistics maths, a mode is a value that occurs the highest numbers of time.
For Example − assume a set of values 3, 5, 2, 7, 3. The mode of this value set is 3 as it appears more than any other number.

Comments
Post a Comment