Skip to main content
Hi guys, need help with the decimal places in the Currency Field. The Field set up is for the Currency to have only 2 decimal places, however, I have a process builder formula that calculates the Gross Deal Value of the Deal and if auto fills it with 10 decimal places so somehow the field set up is being ignored. This is causing an issue on a 3rd party app Cirrus Insight that is not allowing me to save the updated record because the field it too long with all those decimal points so I have to manually fix it every time I want to save a record. Please see attached. Below is the Formula that auto calculates the Gross Deal Value. Appreciate any help on this. Thank you!!!Limit Currency Decimal PlacesUser-added image

 

(([ascendix__Deal__c].ascendix__Size__c *[ascendix__Deal__c].ascendix__LeaseRatePerUOM__c ) * (((1 + [ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c /100) ^ FLOOR([ascendix__Deal__c].ascendix__LeaseTermMonths__c/12 ) - 1 ) / ([ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c/100) )) + (([ascendix__Deal__c].ascendix__Size__c *[ascendix__Deal__c].ascendix__LeaseRatePerUOM__c ) * ((1 + [ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c / 100 )^(FLOOR([ascendix__Deal__c].ascendix__LeaseTermMonths__c / 12))) * (MOD([ascendix__Deal__c].ascendix__LeaseTermMonths__c, 12) / 12))
2 answers
  1. Aug 4, 2020, 9:27 PM
    Hi Alyona,

     

    Could you try the below formula 

    Round((([ascendix__Deal__c].ascendix__Size__c *[ascendix__Deal__c].ascendix__LeaseRatePerUOM__c ) * (((1 + [ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c /100) ^ FLOOR([ascendix__Deal__c].ascendix__LeaseTermMonths__c/12 ) - 1 ) / ([ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c/100) )) + (([ascendix__Deal__c].ascendix__Size__c *[ascendix__Deal__c].ascendix__LeaseRatePerUOM__c ) * ((1 + [ascendix__Deal__c].ascendix__LeaseRateEscalationPercent__c / 100 )^(FLOOR([ascendix__Deal__c].ascendix__LeaseTermMonths__c / 12))) * (MOD([ascendix__Deal__c].ascendix__LeaseTermMonths__c, 12) / 12)),2)

     

    Kindly let me know if this works :D

     

    Thanks

     

    Moustafa Ishak