+ Start a Discussion
ForceLoverForceLover 

will tigger support

HI Everyone,

 

 I want to add a 5% of amount to the existing amount with triggers like

 

Amount__c=m.Amount__c+5%

 

% is not supported by apex triggers

 

how can i do this ..

 

Thanks.... 

Best Answer chosen by Admin (Salesforce Developers) 
KapilCKapilC

HI,

 

You can use simple math formula to calculate % for e.g.

Amount__c=m.Amount__c+(m.Amount__c *5/100)

 

[If you got answer from my post please mark it as solution.]
Thanks,
Kapil