Question5Replies44ViewsX NagaSaiJ Member since 2018 11 posts Tech Mahindra Posted: 1 month agoLast activity: 1 month 1 week ago Solved Math.divide function is throwing errors.Hi Team,I have a requirement to calculate the Fee(in %) with the input of Fee and Loan Amount. Yes it's simple. But the Math.divide function is throwing errors in the Expression Builder.Formula used: Fee(in %) = (Fee*100)/LoanAmount.I've written the following expression in the Expression Builder.@Math.divide(.AdministrativeFee,.ProposedLoanAmount)When clicked on the Test at the Top right corner of the Expression Builder, it's showing error as "Cannot evaluate the expression: @Math.divide(.AdministrativeFee,.ProposedLoanAmount)" Both the fields are decimal only.Tried alternatives as:1. @Math.divide(toDecimal(.AdministrativeFee),toDecimal(.ProposedLoanAmount))2. @Math.divide(.AdministrativeFee,@Math.divide(.ProposedLoanAmount,1))But none worked.Could someone please help me with this..! Pega Customer Service for Financial Services Application Development Financial Services Senior System Architect ReplyI also have this Question (0) FacebookTwitterLinkedinEmail Copy Link Copied! Posted: 1 month agoRachit_Agarwal PEGA replied to NagaSaiJCan you please let us know the what is the property types for AdministrativeFee, ProposedLoanAmount. Posted: 1 month agoNagaSaiJ Tech Mahindra replied to Rachit_AgarwalHi Rachit_Agarwal,Both properties are of type Decimal Accepted Solution Posted: 1 month agoUpdated: 1 month agoRachit_Agarwal PEGA replied to NagaSaiJSo, it is coming because you did not mention the value in the divisor field. Mention a value for both the properties. Posted: 1 month agoNagaSaiJ Tech Mahindra replied to Rachit_AgarwalThanQ Rachit_Agarwal..!! Posted: 1 month agoRachit_Agarwal PEGA replied to NagaSaiJYou're welcome..